From: Toni Wilen Date: Sat, 28 Mar 2015 14:12:05 +0000 (+0200) Subject: "UAE" autoconfig hack is now fully done in expansion.cpp. X-Git-Tag: 3100~60 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=71b9bf9aa472d53057ef54fa2bdc36c01bd495c8;p=francis%2Fwinuae.git "UAE" autoconfig hack is now fully done in expansion.cpp. --- diff --git a/gfxboard.cpp b/gfxboard.cpp index 12816478..34bd3600 100644 --- a/gfxboard.cpp +++ b/gfxboard.cpp @@ -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; }