mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-23 02:11:38 +00:00
SCI: Fix bug #3035033 - ISLANDBRAIN demo: Crash
The demo needs the "init" selector so that the workaround for the full game will also work in the demo. svn-id: r51343
This commit is contained in:
parent
280204bd12
commit
03fe34df73
@ -168,6 +168,13 @@ Common::StringArray Kernel::checkStaticSelectorNames() {
|
||||
|
||||
names[274] = "syncTime";
|
||||
names[275] = "syncCue";
|
||||
} else if (g_sci->getGameId() == GID_ISLANDBRAIN) {
|
||||
// The demo of Island of Dr. Brain needs the init selector set to match up with the full
|
||||
// game's workaround.
|
||||
if (names.size() < 111)
|
||||
names.resize(111);
|
||||
|
||||
names[110] = "init";
|
||||
}
|
||||
|
||||
#ifdef ENABLE_SCI32
|
||||
|
Loading…
Reference in New Issue
Block a user