From b11defc3f6ee96a82342bb3aadc26fb367ffdf71 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sat, 29 Jan 2022 20:48:36 +0200 Subject: [PATCH] Reverted 490b25 MMU CE mode cycle count update. --- newcpu.cpp | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/newcpu.cpp b/newcpu.cpp index 8afe100c..aedfef5a 100644 --- a/newcpu.cpp +++ b/newcpu.cpp @@ -949,9 +949,6 @@ static void set_x_funcs (void) x_get_ibyte = NULL; x_next_iword = next_iword_mmu030c_state; x_next_ilong = next_ilong_mmu030c_state; - x_do_cycles = do_cycles; - x_do_cycles_pre = do_cycles; - x_do_cycles_post = do_cycles_post; } else if (currprefs.cpu_compatible) { x_prefetch = get_iword_mmu030c_state; x_get_ilong = get_ilong_mmu030c_state; @@ -959,9 +956,6 @@ static void set_x_funcs (void) x_get_ibyte = NULL; x_next_iword = next_iword_mmu030c_state; x_next_ilong = next_ilong_mmu030c_state; - x_do_cycles = do_cycles; - x_do_cycles_pre = do_cycles; - x_do_cycles_post = do_cycles_post; } else { x_prefetch = get_iword_mmu030; x_get_ilong = get_ilong_mmu030; @@ -985,15 +979,10 @@ static void set_x_funcs (void) x_get_byte = get_byte_dc030; } } - if (currprefs.cpu_cycle_exact) { - x_do_cycles = do_cycles_ce020; - x_do_cycles_pre = do_cycles_ce020; - x_do_cycles_post = do_cycles_ce020_post; - } else { - x_do_cycles = do_cycles; - x_do_cycles_pre = do_cycles; - x_do_cycles_post = do_cycles_post; - } + x_do_cycles = do_cycles; + x_do_cycles_pre = do_cycles; + x_do_cycles_post = do_cycles_post; + } else if (currprefs.cpu_model < 68020) { // 68000/010 if (currprefs.cpu_cycle_exact) { -- 2.47.3