X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Cyclone%2FOpAny.cpp;h=92e695ef97d82599ce6abd3e6f799b7eb41dfba9;hb=90b92e36aa45f0e24d5f257d04853cfa30518b3b;hp=9a149bbc448a61bd855494103dc560274be93604;hpb=6003a768db2b013216715ea60692ddae35524d44;p=cyclone68000.git diff --git a/Cyclone/OpAny.cpp b/Cyclone/OpAny.cpp index 9a149bb..92e695e 100644 --- a/Cyclone/OpAny.cpp +++ b/Cyclone/OpAny.cpp @@ -1,4 +1,13 @@ +// This file is part of the Cyclone 68000 Emulator + +// Copyright (c) 2011 FinalDave (emudave (at) gmail.com) + +// This code is licensed under the GNU General Public License version 2.0 and the MAME License. +// You can choose the license that has the most advantages for you. + +// SVN repository can be found at http://code.google.com/p/cyclone68000/ + #include "app.h" static unsigned char OpData[16]={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; @@ -12,7 +21,9 @@ static unsigned short CPU_CALL OpRead16(unsigned int a) void OpUse(int op,int use) { char text[64]=""; - CyJump[op]=use; + + if (op>=0) + CyJump[op]=use; if (op!=use) return;