]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
MMU emulation fixed.
authorToni Wilen <twilen@winuae.net>
Sat, 14 Apr 2018 07:30:36 +0000 (10:30 +0300)
committerToni Wilen <twilen@winuae.net>
Sat, 14 Apr 2018 07:30:36 +0000 (10:30 +0300)
gencpu.cpp

index 07b0c000a904cf9c8e0a3062e65daa6782bb5fb3..46db1563dcbdbe0359be8d1b0f8268115287f192 100644 (file)
@@ -807,7 +807,9 @@ static void setpc (const char *format, ...)
        _vsnprintf (buffer, 1000 - 1, format, parms);
        va_end (parms);
 
-       if (using_mmu || using_prefetch || using_prefetch_020)
+       if (using_mmu)
+               printf("\tm68k_setpci(%s);\n", buffer);
+       else if (using_prefetch || using_prefetch_020)
                printf ("\tm68k_setpci_j(%s);\n", buffer);
        else
                printf ("\tm68k_setpc_j(%s);\n", buffer);