svn-id: r44830
This commit is contained in:
Filippos Karapetis 2009-10-09 16:21:37 +00:00
parent 6e6336ece7
commit 53b1ff79a3

View File

@ -543,6 +543,7 @@ SciVersion EngineState::detectGfxFunctionsType() {
int opsize = scr[offset++];
uint opcode = opsize >> 1;
int i = 0;
byte argc;
while (g_opcode_formats[opcode][i]) {
switch (g_opcode_formats[opcode][i++]) {
@ -570,7 +571,7 @@ SciVersion EngineState::detectGfxFunctionsType() {
offset += 2;
}
byte argc = scr[offset++];
argc = scr[offset++];
if (opcode == op_callk) {
if (kFuncNum == 8) { // kDrawPic