mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 19:16:21 +00:00
Fixed an issue when examining callk calls in the new graphics functions detection routine
svn-id: r44829
This commit is contained in:
parent
4011e948e7
commit
6e6336ece7
@ -570,10 +570,10 @@ SciVersion EngineState::detectGfxFunctionsType() {
|
||||
offset += 2;
|
||||
}
|
||||
|
||||
byte argc = scr[offset++];
|
||||
|
||||
if (opcode == op_callk) {
|
||||
if (kFuncNum == 8) { // kDrawPic
|
||||
// Now get the number of parameters
|
||||
byte argc = scr[offset++];
|
||||
// If kDrawPic is called with 6 parameters from the
|
||||
// overlay selector, the game is using old graphics functions.
|
||||
// Otherwise, if it's called with 8 parameters, it's using new
|
||||
|
Loading…
x
Reference in New Issue
Block a user