From ea9e43af2824d06da0b87c3adc7b4524c22cc6dd Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Thu, 31 Jul 2014 23:25:36 +0300 Subject: [PATCH] 68020+ prefetch do_cycles wrong function. --- newcpu.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/newcpu.cpp b/newcpu.cpp index ee4fc137..9ab68249 100644 --- a/newcpu.cpp +++ b/newcpu.cpp @@ -6001,7 +6001,7 @@ uae_u32 get_word_ce020_prefetch (int o) v = regs.prefetch020[0] >> 16; regs.db = regs.prefetch020[1] >> 16; } - do_cycles_ce020 (2); + do_cycles_ce020_internal (2); return v; } @@ -6500,7 +6500,7 @@ uae_u32 get_word_ce030_prefetch (int o) } else { v = regs.prefetch020[0] >> 16; } - do_cycles_ce020 (2); + do_cycles_ce020_internal (2); return v; } @@ -6887,11 +6887,11 @@ void fill_prefetch_030 (void) pc &= ~3; fill_icache030 (pc); if (currprefs.cpu_cycle_exact) - do_cycles_ce020 (2); + do_cycles_ce020_internal(2); regs.prefetch020[0] = regs.cacheholdingdata020; fill_icache030 (pc + 4); if (currprefs.cpu_cycle_exact) - do_cycles_ce020 (2); + do_cycles_ce020_internal(2); regs.prefetch020[1] = regs.cacheholdingdata020; regs.irc = get_word_ce030_prefetch (0); } @@ -6903,11 +6903,11 @@ void fill_prefetch_020 (void) pc &= ~3; fill_icache020 (pc, fetch); if (currprefs.cpu_cycle_exact) - do_cycles_ce020 (2); + do_cycles_ce020_internal(2); regs.prefetch020[0] = regs.cacheholdingdata020; fill_icache020 (pc + 4, fetch); if (currprefs.cpu_cycle_exact) - do_cycles_ce020 (2); + do_cycles_ce020_internal(2); regs.prefetch020[1] = regs.cacheholdingdata020; if (currprefs.cpu_cycle_exact) regs.irc = get_word_ce020_prefetch (0); -- 2.47.3