musashi: don't generate unneeded handlers

at least move16 was incorrectly hooked up
This commit is contained in:
notaz 2017-09-13 01:46:30 +03:00
parent e01cf375cb
commit a39743e315
2 changed files with 6 additions and 0 deletions

View file

@ -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 */