diff options
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; |