notaz.gp2x.de
/
cyclone68000.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed a bug where the Opcode jump table was written to out of bounds
[cyclone68000.git]
/
Cyclone
/
OpAny.cpp
diff --git
a/Cyclone/OpAny.cpp
b/Cyclone/OpAny.cpp
index
44d2e5c
..
92e695e
100644
(file)
--- a/
Cyclone/OpAny.cpp
+++ b/
Cyclone/OpAny.cpp
@@
-21,7
+21,9
@@
static unsigned short CPU_CALL OpRead16(unsigned int a)
void OpUse(int op,int use)
\r
{
\r
char text[64]="";
\r
- CyJump[op]=use;
\r
+
\r
+ if (op>=0)
\r
+ CyJump[op]=use;
\r
\r
if (op!=use) return;
\r
\r