From: Toni Wilen Date: Sat, 14 Apr 2018 07:30:36 +0000 (+0300) Subject: MMU emulation fixed. X-Git-Tag: 4000~127 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=876a3ad0686d8d2658268eb357ad48dfc21fdcc5;p=francis%2Fwinuae.git MMU emulation fixed. --- diff --git a/gencpu.cpp b/gencpu.cpp index 07b0c000..46db1563 100644 --- a/gencpu.cpp +++ b/gencpu.cpp @@ -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);