From 526d94f0205a77a07825981d6ba898b424dc1421 Mon Sep 17 00:00:00 2001 From: zsknight <> Date: Mon, 28 May 2001 06:09:50 +0000 Subject: [PATCH] Alternative timer stuff --- zsnes/src/gui/gui.asm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/zsnes/src/gui/gui.asm b/zsnes/src/gui/gui.asm index 49d42ebc..aa5d6f50 100644 --- a/zsnes/src/gui/gui.asm +++ b/zsnes/src/gui/gui.asm @@ -2554,7 +2554,10 @@ guimustrestartmsg: xor ebx,ebx mov ecx,256 .a - mov byte[pressed+ebx],0 + cmp byte[pressed+ebx],1 + jne .npr1 + mov byte[pressed+ebx],2 +.npr1 inc ebx loop .a mov byte[pressed+2Ch],0 @@ -2586,8 +2589,8 @@ guimustrestartmsg: xor ebx,ebx mov ecx,256+128+64 .b - cmp byte[pressed+ebx],0 - jne .pressedokay + cmp byte[pressed+ebx],1 + je .pressedokay inc ebx loop .b jmp .again