X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2Ffame%2Ffamec_opcodes.h;h=551d7571c3f3a7355c233a4394c33f9ac205e84b;hb=fcf94fcc20e7bdd527a28fe8e1b265862b616016;hp=96e467512cdc09c58f906f49de92003cd9992adb;hpb=a7efb231fe6836315016c08042e30477937635cd;p=picodrive.git diff --git a/cpu/fame/famec_opcodes.h b/cpu/fame/famec_opcodes.h index 96e4675..551d757 100644 --- a/cpu/fame/famec_opcodes.h +++ b/cpu/fame/famec_opcodes.h @@ -19263,8 +19263,7 @@ OPCODE(0x4E72) ASP = res; } m68kcontext.execinfo |= FM68K_HALTED; - m68kcontext.io_cycle_counter = 0; -RET(4) +RET0() } // RTE @@ -39984,8 +39983,7 @@ OPCODE(0x6001_idle) PC += ((s8)(Opcode & 0xFE)) >> 1; #endif UPDATE_IDLE_COUNT - m68kcontext.io_cycle_counter = 10; -RET(10) +RET0() } // BCC @@ -39995,7 +39993,8 @@ OPCODE(0x6601_idle) { UPDATE_IDLE_COUNT PC += ((s8)(Opcode & 0xFE)) >> 1; - m68kcontext.io_cycle_counter = 8; + //if (idle_hit) + RET0() } RET(8) } @@ -40006,7 +40005,8 @@ OPCODE(0x6701_idle) { UPDATE_IDLE_COUNT PC += ((s8)(Opcode & 0xFE)) >> 1; - m68kcontext.io_cycle_counter = 8; + //if (idle_hit) + RET0() } RET(8) }