mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
A few mino changes for pc gamer demo
svn-id: r8949
This commit is contained in:
parent
fcc52b238b
commit
6ea1d54f50
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user