From 471484e4c225ba017004b90a632918e40793d41e Mon Sep 17 00:00:00 2001 From: notaz Date: Thu, 27 Sep 2007 21:01:11 +0000 Subject: [PATCH] emustatus-as-ptr bugfix git-svn-id: file:///home/notaz/opt/svn/PicoDrive@264 be3aeb3a-fb24-0410-a615-afba39da0efa --- Pico/Memory.s | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Pico/Memory.s b/Pico/Memory.s index 5555ac31..93c503d5 100644 --- a/Pico/Memory.s +++ b/Pico/Memory.s @@ -891,7 +891,8 @@ m_write8_z80_not_ram: ldr r2, =emustatus ldmfd sp!,{lr} ldr r1, [r2] - orr r1, r0, r2 + and r0, r0, #1 + orr r1, r0, r1 str r1, [r2] @ emustatus|=YM2612Write(a&3, d); bx lr -- 2.39.5