Merge pull request #236 from Daniel-Cortez/pawndisasm-patch
pawndisasm: Fix 'switch' argument
This commit is contained in:
commit
3ee21806d0
@ -355,7 +355,7 @@ cell do_sysreq(FILE *ftxt,const cell *params,cell opcode,cell cip)
|
|||||||
cell do_switch(FILE *ftxt,const cell *params,cell opcode,cell cip)
|
cell do_switch(FILE *ftxt,const cell *params,cell opcode,cell cip)
|
||||||
{
|
{
|
||||||
print_opcode(ftxt,opcode,cip);
|
print_opcode(ftxt,opcode,cip);
|
||||||
fprintf(ftxt,"%08"PRIxC"\n",*params+cip);
|
fprintf(ftxt,"%08"PRIxC"\n",*params);
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user