mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
musashi: don't generate unneeded handlers
at least move16 was incorrectly hooked up
This commit is contained in:
parent
e01cf375cb
commit
a39743e315
2 changed files with 6 additions and 0 deletions
|
@ -1043,6 +1043,11 @@ void process_opcode_handlers(FILE* filep)
|
||||||
if(opinfo == NULL)
|
if(opinfo == NULL)
|
||||||
error_exit("Unable to find matching table entry for %s", func_name);
|
error_exit("Unable to find matching table entry for %s", func_name);
|
||||||
|
|
||||||
|
#if 1 /* PD hack: 000 only */
|
||||||
|
if (opinfo->cpus[0] == UNSPECIFIED_CH)
|
||||||
|
continue;
|
||||||
|
#endif
|
||||||
|
|
||||||
replace->length = 0;
|
replace->length = 0;
|
||||||
|
|
||||||
/* Generate opcode variants */
|
/* Generate opcode variants */
|
||||||
|
|
|
@ -549,6 +549,7 @@ breakloop:
|
||||||
printf("D%d: %08x A%d: %08x\n", i, x68k->dar[i],
|
printf("D%d: %08x A%d: %08x\n", i, x68k->dar[i],
|
||||||
i, x68k->dar[i + 8]);
|
i, x68k->dar[i + 8]);
|
||||||
printf("PC: %08x, %08x\n", x68k->pc, x68k->pc_prev);
|
printf("PC: %08x, %08x\n", x68k->pc, x68k->pc_prev);
|
||||||
|
printf("SR: %04x\n", x68k->sr);
|
||||||
|
|
||||||
PDebugDumpMem();
|
PDebugDumpMem();
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue