aboutsummaryrefslogtreecommitdiff
path: root/sky/music
diff options
context:
space:
mode:
authorTravis Howell2003-07-12 16:54:30 +0000
committerTravis Howell2003-07-12 16:54:30 +0000
commit6ea1d54f5067da0e75717e5a7d97d046bf4591f6 (patch)
treec2ffc2203f318be04033b270e52647e8f0438391 /sky/music
parentfcc52b238bdf51969997c5ff4f93fbdfda8e2f52 (diff)
downloadscummvm-rg350-6ea1d54f5067da0e75717e5a7d97d046bf4591f6.tar.gz
scummvm-rg350-6ea1d54f5067da0e75717e5a7d97d046bf4591f6.tar.bz2
scummvm-rg350-6ea1d54f5067da0e75717e5a7d97d046bf4591f6.zip
A few mino changes for pc gamer demo
svn-id: r8949
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;