X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Cyclone%2FOpAny.cpp;h=92e695ef97d82599ce6abd3e6f799b7eb41dfba9;hb=90b92e36aa45f0e24d5f257d04853cfa30518b3b;hp=4af08b2f37e8562a1d8faefe6f6e3f06182d1a49;hpb=619b18243b9bf12ea1b3880ace8eba33030d5501;p=cyclone68000.git diff --git a/Cyclone/OpAny.cpp b/Cyclone/OpAny.cpp index 4af08b2..92e695e 100644 --- a/Cyclone/OpAny.cpp +++ b/Cyclone/OpAny.cpp @@ -1,6 +1,8 @@ // 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. @@ -19,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;