aboutsummaryrefslogtreecommitdiff
path: root/sky/music
diff options
context:
space:
mode:
Diffstat (limited to 'sky/music')
-rw-r--r--sky/music/adlibchannel.cpp2
-rw-r--r--sky/music/adlibmusic.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/sky/music/adlibchannel.cpp b/sky/music/adlibchannel.cpp
index 6303e261ed..bc114d80e1 100644
--- a/sky/music/adlibchannel.cpp
+++ b/sky/music/adlibchannel.cpp
@@ -42,7 +42,7 @@ SkyAdlibChannel::SkyAdlibChannel(FM_OPL *opl, uint8 *pMusicData, uint16 startOfD
uint16 instrumentDataLoc;
- if (SkyState::_systemVars.gameVersion == 267) {
+ if (SkyState::_systemVars.gameVersion <= 267) {
instrumentDataLoc = (_musicData[0x11FC] << 8) | _musicData[0x11FB];
_frequenceTable = (uint16*)(_musicData+0x7F4);
_registerTable = _musicData+0xDF4;
diff --git a/sky/music/adlibmusic.cpp b/sky/music/adlibmusic.cpp
index 5ce82a6f3c..8236482d55 100644
--- a/sky/music/adlibmusic.cpp
+++ b/sky/music/adlibmusic.cpp
@@ -85,7 +85,7 @@ void SkyAdlibMusic::premixerCall(int16 *buf, uint len) {
void SkyAdlibMusic::setupPointers(void) {
- if (SkyState::_systemVars.gameVersion == 267) {
+ if (SkyState::_systemVars.gameVersion <= 267) {
// disk demo uses a different adlib driver version, some offsets have changed
_musicDataLoc = (_musicData[0x11F8] << 8) | _musicData[0x11F7];
_initSequence = _musicData + 0xE87;