]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
MOVEM bus error prefetch mode timing fix.
authorToni Wilen <twilen@winuae.net>
Sun, 9 Feb 2020 12:13:39 +0000 (14:13 +0200)
committerToni Wilen <twilen@winuae.net>
Sun, 9 Feb 2020 12:13:39 +0000 (14:13 +0200)
gencpu.cpp

index 53915029833658f76420804c1d088e7a352cf7bd..dc4afd7da676c4ed381cb63807d9debbaa92fae9 100644 (file)
@@ -4164,8 +4164,8 @@ static void genmovemel_ce (uae_u16 opcode)
                out("}\n");
        }
        out("%s(srca);\n", srcw); // and final extra word fetch that goes nowhere..
-       check_bus_error("src", 0, 0, 1, NULL, 1);
        count_read++;
+       check_bus_error("src", 0, 0, 1, NULL, 1);
        if (table68k[opcode].dmode == Aipi)
                out("m68k_areg(regs, dstreg) = srca;\n");
        count_ncycles++;