diff options
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/engine/state.cpp | 4 | ||||
-rw-r--r-- | engines/sci/engine/static_selectors.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/engine/state.cpp b/engines/sci/engine/state.cpp index 047d6ca6c2..3848c512b6 100644 --- a/engines/sci/engine/state.cpp +++ b/engines/sci/engine/state.cpp @@ -574,9 +574,9 @@ SciVersion EngineState::detectGfxFunctionsType() { offset += 2; } - argc = scr[offset++]; - if (opcode == op_callk) { + argc = scr[offset++]; + if (kFuncNum == 8) { // kDrawPic // If kDrawPic is called with 6 parameters from the // overlay selector, the game is using old graphics functions. diff --git a/engines/sci/engine/static_selectors.cpp b/engines/sci/engine/static_selectors.cpp index 09bdec6cac..98314378d4 100644 --- a/engines/sci/engine/static_selectors.cpp +++ b/engines/sci/engine/static_selectors.cpp @@ -65,7 +65,7 @@ static const char * const sci1Selectors[] = { static const SelectorRemap sci0SelectorRemap[] = { { "caller", 119 }, { "cue", 121 }, { "owner", 130 }, { "completed", 159 }, { "cycler", 164 }, { "moveDone", 170 }, - { "distance", 173 }, { "setCursor", 254 }, { "overlay", 302 }, + { "distance", 173 }, { "setCursor", 254 }, { "overlay", 270 }, { "points", 316 }, { "flags", 368 }, { 0, 0 } }; |