A few mino changes for pc gamer demo

svn-id: r8949
This commit is contained in:
Travis Howell 2003-07-12 16:54:30 +00:00
parent fcc52b238b
commit 6ea1d54f50
3 changed files with 3 additions and 3 deletions

View File

@ -1595,7 +1595,7 @@ void SkyControl::applyDiff(uint16 *data, uint16 *diffData) {
}
void SkyControl::restartGame(void) {
if (SkyState::_systemVars.gameVersion == 267)
if (SkyState::_systemVars.gameVersion <= 267)
return; // no restart for floppy demo
uint16 *resetData;

View File

@ -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;

View File

@ -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;