mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 04:28:37 +00:00
I hope this is the right fix for an "invalid opcode" message right after
SET_PATHFIND_ITEM when dumping scripts. If so, perhaps it should be on the 0.9 branch as well. On the other hand, it only happens when debugging... svn-id: r24125
This commit is contained in:
parent
dcbad3a1ab
commit
9ae7bab9f2
@ -206,7 +206,7 @@ void AGOSEngine::dump_video_script(const byte *src, bool one_opcode_only) {
|
||||
}
|
||||
|
||||
if (opcode >= _numVideoOpcodes) {
|
||||
error("Invalid opcode %x\n", opcode);
|
||||
error("Invalid opcode %x", opcode);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -251,7 +251,7 @@ void AGOSEngine::dump_video_script(const byte *src, bool one_opcode_only) {
|
||||
readUint16Wrapper(src + 2));
|
||||
src += 4;
|
||||
}
|
||||
src++;
|
||||
src += 2;
|
||||
break;
|
||||
default:
|
||||
error("Invalid fmt string '%c' in decompile VGA", *str);
|
||||
|
Loading…
Reference in New Issue
Block a user