mirror of
https://github.com/FunKey-Project/picodrive-irixxxx.git
synced 2026-04-01 17:52:59 +02:00
musashi: don't generate unneeded handlers
at least move16 was incorrectly hooked up
This commit is contained in:
@@ -1043,6 +1043,11 @@ void process_opcode_handlers(FILE* filep)
|
||||
if(opinfo == NULL)
|
||||
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;
|
||||
|
||||
/* Generate opcode variants */
|
||||
|
||||
@@ -549,6 +549,7 @@ breakloop:
|
||||
printf("D%d: %08x A%d: %08x\n", i, x68k->dar[i],
|
||||
i, x68k->dar[i + 8]);
|
||||
printf("PC: %08x, %08x\n", x68k->pc, x68k->pc_prev);
|
||||
printf("SR: %04x\n", x68k->sr);
|
||||
|
||||
PDebugDumpMem();
|
||||
exit(1);
|
||||
|
||||
Reference in New Issue
Block a user