X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2FCyclone%2FOpLogic.cpp;fp=cpu%2FCyclone%2FOpLogic.cpp;h=b6eb07553995b41effd4eb5159fafb03405dcc4e;hb=a9a5a6e0b1788acaf45adaa84a7c2bc9541e5abc;hp=2a0c8195481cfc3c1e1616ae39dfcd115d0cf1ab;hpb=a67855765d6106f3fd8737ec35c2165460d2705f;p=picodrive.git diff --git a/cpu/Cyclone/OpLogic.cpp b/cpu/Cyclone/OpLogic.cpp index 2a0c819..b6eb075 100644 --- a/cpu/Cyclone/OpLogic.cpp +++ b/cpu/Cyclone/OpLogic.cpp @@ -148,7 +148,7 @@ int OpNeg(int op) OpStart(op,ea); Cycles=size<2?4:6; if(ea >= 0x10) { Cycles*=2; -#ifdef CYCLONE_FOR_GENESIS +#if CYCLONE_FOR_GENESIS // This is same as in Starscream core, CLR uses only 6 cycles for memory EAs. // May be this is similar case as with TAS opcode, but this time the dummy // read is ignored somehow? Without this hack Fatal Rewind hangs even in Gens. @@ -672,7 +672,7 @@ int OpTas(int op, int gen_special) OpEnd(); -#if CYCLONE_FOR_GENESIS +#if (CYCLONE_FOR_GENESIS == 2) if (!gen_special && ea >= 0x10) { OpTas(op, 1); }