]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
"UAE" autoconfig hack is now fully done in expansion.cpp.
authorToni Wilen <twilen@winuae.net>
Sat, 28 Mar 2015 14:12:05 +0000 (16:12 +0200)
committerToni Wilen <twilen@winuae.net>
Sat, 28 Mar 2015 14:12:05 +0000 (16:12 +0200)
gfxboard.cpp

index 12816478980015ceb8ddf687fe3680fc8fd90abd..34bd3600e7b31ae9fb060fe98902d9f213533197 100644 (file)
@@ -1316,11 +1316,7 @@ static void REGPARAM2 gfxboard_wput_mem_autoconfig (uaecptr addr, uae_u32 b)
        addr &= 65535;
        if (addr == 0x44) {
                uae_u32 start;
-               if (expamem_z3hack(&currprefs)) {
-                       start = gfxmem_bank.start;
-                       put_word (regs.regs[11] + 0x20, start >> 16);
-                       put_word (regs.regs[11] + 0x28, start >> 16);
-               } else {
+               if (!expamem_z3hack(&currprefs)) {
                        start = (b & 0xff00) | expamem_lo;
                        gfxmem_bank.start = start << 16;
                }