mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-03 07:59:38 +00:00
Fix no sound effects regression in simon1.
svn-id: r19267
This commit is contained in:
parent
f874a87c90
commit
5eba9ee36c
@ -1405,9 +1405,9 @@ void SimonEngine::loadTablesIntoMem(uint subr_id) {
|
||||
readSubroutineBlock(in);
|
||||
closeTablesFile(in);
|
||||
|
||||
if (_game == GAME_SIMON2DOS || _game == GAME_SIMON2TALKIE || _game == GAME_SIMON2WIN) {
|
||||
if (_game & GF_SIMON2) {
|
||||
_sound->loadSfxTable(_gameFile, _gameOffsetsPtr[atoi(filename + 6) - 1 + SOUND_INDEX_BASE]);
|
||||
} else if (_game == GAME_SIMON1TALKIE) {
|
||||
} else if (_game & GF_TALKIE) {
|
||||
memcpy(filename, "SFXXXX", 6);
|
||||
_sound->readSfxFile(filename);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user