]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
68020+ prefetch do_cycles wrong function.
authorToni Wilen <twilen@winuae.net>
Thu, 31 Jul 2014 20:25:36 +0000 (23:25 +0300)
committerToni Wilen <twilen@winuae.net>
Thu, 31 Jul 2014 20:25:36 +0000 (23:25 +0300)
newcpu.cpp

index ee4fc137e2b62d28c5f7d30c17a7b33f6c1945ca..9ab68249e4e364144acaa84e8a904f2477547e7d 100644 (file)
@@ -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);