From 8b8b964aadcf0f37cfb853c83857da7271af5ebc Mon Sep 17 00:00:00 2001 From: Jamieson Christian Date: Fri, 11 Jul 2003 07:14:21 +0000 Subject: 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 --- sky/music/adlibchannel.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sky/music/adlibchannel.h') 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; -- cgit v1.2.3