mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-15 15:11:32 +00:00
- Fixed: The disassembly for jmp opcodes displayed the wrong address.
SVN r3904 (scripting)
This commit is contained in:
parent
0dae6527ad
commit
79228e4331
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ void VMDisasm(FILE *out, const VMOP *code, int codesize, const VMScriptFunction
|
|||
{
|
||||
case OP_JMP:
|
||||
case OP_TRY:
|
||||
col = printf_wrapper(out, "%08x", i + 4 + (code[i].i24 << 2));
|
||||
col = printf_wrapper(out, "%08x", (i + 1 + code[i].i24) << 2);
|
||||
break;
|
||||
|
||||
case OP_PARAMI:
|
||||
|
|
Loading…
Reference in a new issue