mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-12-24 21:30:11 +00:00
Fix indirect call address TO_UWORD
This commit is contained in:
parent
def38e3c3a
commit
1c569ff909
@ -731,7 +731,7 @@ void interp(code *ip)
|
||||
call(UWORD_PTR(ip));
|
||||
break;
|
||||
case 0x56: // ICALL : TOFP = IP, IP = (TOS) ; indirect call
|
||||
val = POP;
|
||||
val = TO_UWORD(POP);
|
||||
ea = mem_data[val] | (mem_data[val + 1] << 8);
|
||||
call(ea);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user