From: Toni Wilen Date: Thu, 31 Jul 2014 20:25:36 +0000 (+0300) Subject: 68020+ prefetch do_cycles wrong function. X-Git-Tag: 3000~91 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=ea9e43af2824d06da0b87c3adc7b4524c22cc6dd;p=francis%2Fwinuae.git 68020+ prefetch do_cycles wrong function. --- 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);