don't run when 0 cycles are left
[cyclone68000.git] / OpAny.cpp
index 9d45a01..63a7e1f 100644 (file)
--- a/OpAny.cpp
+++ b/OpAny.cpp
@@ -112,7 +112,7 @@ void OpEnd(int sea, int tea)
   }\r
   if (opend_check_interrupt)\r
   {\r
-    ot("  blt CycloneEnd\n");\r
+    ot("  ble CycloneEnd\n");\r
     ot(";@ CheckInterrupt:\n");\r
     if (!opend_check_trace)\r
       ot("  ldr r1,[r7,#0x44]\n");\r
@@ -126,7 +126,7 @@ void OpEnd(int sea, int tea)
   }\r
   else\r
   {\r
-    ot("  ldrge pc,[r6,r8,asl #2] ;@ Jump to opcode handler\n");\r
+    ot("  ldrgt pc,[r6,r8,asl #2] ;@ Jump to opcode handler\n");\r
     ot("  b CycloneEnd\n");\r
   }\r
   ot("\n");\r