notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
musashi: don't generate unneeded handlers
[picodrive.git]
/
cpu
/
musashi
/
m68kmake.c
diff --git
a/cpu/musashi/m68kmake.c
b/cpu/musashi/m68kmake.c
index
f315734
..
361481b
100644
(file)
--- a/
cpu/musashi/m68kmake.c
+++ b/
cpu/musashi/m68kmake.c
@@
-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(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
replace->length = 0;
\r
\r
/* Generate opcode variants */
\r