notaz.gp2x.de
/
cyclone68000.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c41b9b9
)
fixed a bug where the Opcode jump table was written to out of bounds
author
emudave
<emudave@gmail.com>
Sat, 12 Feb 2011 21:55:25 +0000
(21:55 +0000)
committer
emudave
<emudave@gmail.com>
Sat, 12 Feb 2011 21:55:25 +0000
(21:55 +0000)
Cyclone/OpAny.cpp
patch
|
blob
|
blame
|
history
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