From 71527c2b9982301408dffb1bd7702174fd394da3 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Thu, 14 Mar 2024 17:48:32 +0200 Subject: [PATCH] Allow 68020+ CPUs to read instruction words from custom chipset space. Only if more compatible is enabled. --- custom.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.47.3