From 20fb757eef89f3c1cdf393173973d2bc884d13ce Mon Sep 17 00:00:00 2001 From: z_demo_z <> Date: Sun, 20 Jan 2002 21:27:44 +0000 Subject: [PATCH] Fix latchx register read --- zsnes/src/cpu/regs.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zsnes/src/cpu/regs.inc b/zsnes/src/cpu/regs.inc index 1f95cc3a..c5ba90cb 100644 --- a/zsnes/src/cpu/regs.inc +++ b/zsnes/src/cpu/regs.inc @@ -931,9 +931,9 @@ reg213Cr: mov byte[latchxr],1 ret .highv - mov al,byte[latchx+1] - and al,1 - or al,byte[latchx] + mov al,byte[latchx] + and al,0FEh + or al,byte[latchx+1] mov byte[latchxr],0 ret