musashi: don't generate unneeded handlers
[picodrive.git] / cpu / musashi / m68kmake.c
index f315734..361481b 100644 (file)
@@ -1043,6 +1043,11 @@ void process_opcode_handlers(FILE* filep)
                if(opinfo == NULL)\r
                        error_exit("Unable to find matching table entry for %s", func_name);\r
 \r
+#if 1 /* PD hack: 000 only */\r
+               if (opinfo->cpus[0] == UNSPECIFIED_CH)\r
+                       continue;\r
+#endif\r
+\r
                replace->length = 0;\r
 \r
                /* Generate opcode variants */\r