From: Toni Wilen Date: Mon, 1 Jan 2024 16:48:28 +0000 (+0200) Subject: Debugger MMU mode instruction byte read missing masking X-Git-Tag: 5200~103 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=5a86534e5d2ad8ad5704341588f596f7c22e3b6a;p=francis%2Fwinuae.git Debugger MMU mode instruction byte read missing masking --- 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); }