From 5a86534e5d2ad8ad5704341588f596f7c22e3b6a Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Mon, 1 Jan 2024 18:48:28 +0200 Subject: [PATCH] Debugger MMU mode instruction byte read missing masking --- debug.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debug.cpp b/debug.cpp index 39d1a6b3..7b7eb30f 100644 --- a/debug.cpp +++ b/debug.cpp @@ -365,6 +365,8 @@ uae_u32 get_byte_debug (uaecptr addr) v = mmu_get_iword(addr, sz_byte); if (!odd) v >>= 8; + else + v &= 0xff; } else { v = mmu_get_user_byte (addr, regs.s != 0, false, sz_byte, false); } -- 2.47.3