some fixes for some configurations
[picodrive.git] / cpu / Cyclone / OpLogic.cpp
index 2a0c819..b6eb075 100644 (file)
@@ -148,7 +148,7 @@ int OpNeg(int op)
   OpStart(op,ea);   Cycles=size<2?4:6;\r
   if(ea >= 0x10) {\r
     Cycles*=2;\r
-#ifdef CYCLONE_FOR_GENESIS\r
+#if CYCLONE_FOR_GENESIS\r
     // This is same as in Starscream core, CLR uses only 6 cycles for memory EAs.\r
     // May be this is similar case as with TAS opcode, but this time the dummy\r
     // read is ignored somehow? Without this hack Fatal Rewind hangs even in Gens.\r
@@ -672,7 +672,7 @@ int OpTas(int op, int gen_special)
 \r
   OpEnd();\r
 \r
-#if CYCLONE_FOR_GENESIS\r
+#if (CYCLONE_FOR_GENESIS == 2)\r
   if (!gen_special && ea >= 0x10) {\r
     OpTas(op, 1);\r
   }\r