diff options
author | Jamieson Christian | 2003-07-11 07:14:21 +0000 |
---|---|---|
committer | Jamieson Christian | 2003-07-11 07:14:21 +0000 |
commit | 8b8b964aadcf0f37cfb853c83857da7271af5ebc (patch) | |
tree | 0084198c30998e89b2331a8b678cc42a21dbfa72 /sky/music/adlibchannel.h | |
parent | 39b37df37a7fed6f5dd62d11fb10e4b8276f05c1 (diff) | |
download | scummvm-rg350-8b8b964aadcf0f37cfb853c83857da7271af5ebc.tar.gz scummvm-rg350-8b8b964aadcf0f37cfb853c83857da7271af5ebc.tar.bz2 scummvm-rg350-8b8b964aadcf0f37cfb853c83857da7271af5ebc.zip |
Reverted to "old" YM3812 (FMOPL) emulator code.
Until specific information regarding the benefits
of migrating to the new emulator can be made
available, the "old" code will remain in effect
for the benefit of slower hardware platforms such
as some WinCE-based devices.
svn-id: r8903
Diffstat (limited to 'sky/music/adlibchannel.h')
-rw-r--r-- | sky/music/adlibchannel.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sky/music/adlibchannel.h b/sky/music/adlibchannel.h index 8ca72e8a58..3b27c2305b 100644 --- a/sky/music/adlibchannel.h +++ b/sky/music/adlibchannel.h @@ -26,6 +26,7 @@ #include "common/engine.h" #include "sky/sky.h" #include "sky/music/musicbase.h" +#include "sound/fmopl.h" typedef struct { uint8 ad_Op1, ad_Op2; @@ -60,12 +61,13 @@ typedef struct { class SkyAdlibChannel : public SkyChannelBase { public: - SkyAdlibChannel(uint8 *pMusicData, uint16 startOfData); + SkyAdlibChannel (FM_OPL *opl, uint8 *pMusicData, uint16 startOfData); virtual void stopNote(void); virtual uint8 process(uint16 aktTime); virtual void updateVolume(uint16 pVolume); virtual bool isActive(void); private: + FM_OPL *_opl; uint8 *_musicData; uint16 _musicVolume; AdlibChannelType _channelData; |