Mercurial > audlegacy-plugins
diff src/adplug/core/opl.h @ 952:87666f9bf6d0 trunk
[svn] Upstream commit "Vastly enhanced generic Protracker player and modified loaders accordingly.
Copl now supports a getchip() method. A2M loader enhanced for OPL3 features." manually applied by decoding the actual changes from an ocean of whitespace damage. It compiles, but do test it.
| author | chainsaw |
|---|---|
| date | Fri, 13 Apr 2007 09:09:50 -0700 |
| parents | 3da1b8942b8b |
| children |
line wrap: on
line diff
--- a/src/adplug/core/opl.h Fri Apr 13 08:07:32 2007 -0700 +++ b/src/adplug/core/opl.h Fri Apr 13 09:09:50 2007 -0700 @@ -1,6 +1,6 @@ /* * Adplug - Replayer for many OPL2/OPL3 audio file formats. - * Copyright (C) 1999 - 2006 Simon Peter, <dn.tlp@gmx.net>, et al. + * Copyright (C) 1999 - 2007 Simon Peter, <dn.tlp@gmx.net>, et al. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -45,6 +45,11 @@ currChip = n; } + virtual int getchip() // returns current OPL chip + { + return currChip; + } + virtual void init(void) = 0; // reinitialize OPL chip(s) // return this OPL chip's type
