From: Toni Wilen Date: Thu, 14 Mar 2024 15:48:32 +0000 (+0200) Subject: Allow 68020+ CPUs to read instruction words from custom chipset space. Only if more... X-Git-Tag: 5300~88 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=71527c2b9982301408dffb1bd7702174fd394da3;p=francis%2Fwinuae.git Allow 68020+ CPUs to read instruction words from custom chipset space. Only if more compatible is enabled. --- diff --git a/custom.cpp b/custom.cpp index 07c7bc98..0a256c5f 100644 --- a/custom.cpp +++ b/custom.cpp @@ -14871,13 +14871,13 @@ addrbank custom_bank = { static uae_u32 REGPARAM2 custom_wgeti (uaecptr addr) { - if (currprefs.cpu_model >= 68020) + if (currprefs.cpu_model >= 68020 && !currprefs.cpu_compatible) return dummy_wgeti (addr); return custom_wget (addr); } static uae_u32 REGPARAM2 custom_lgeti (uaecptr addr) { - if (currprefs.cpu_model >= 68020) + if (currprefs.cpu_model >= 68020 && !currprefs.cpu_compatible) return dummy_lgeti (addr); return custom_lget (addr); }