From 161c5fd5702cda044a4bbb5ed39006e3ef6ab29a Mon Sep 17 00:00:00 2001 From: theoddone33 <> Date: Sun, 20 May 2001 17:51:41 +0000 Subject: [PATCH] Fix freeze code the right way --- zsnes/src/gui/guikeys.inc | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/zsnes/src/gui/guikeys.inc b/zsnes/src/gui/guikeys.inc index 223dc4bb..b83c6171 100644 --- a/zsnes/src/gui/guikeys.inc +++ b/zsnes/src/gui/guikeys.inc @@ -1216,19 +1216,18 @@ GUICheatKeys: mov dword[GUIcurrentcheatcursloc],0 .posc .nopageup -;%ifdef __LINUX__ - ; uh this freezes the program - ;cmp al, 97 - ;je .pagednpressed - ;cmp dword[numlockptr],1 - ;je .nopageup - ;cmp al,81 - ;jne .nopageup -;.pagednpressed -;%else +%ifdef __LINUX__ + cmp al, 97 + je .pagednpressed + cmp dword[numlockptr],1 + je .nopagedown cmp al,81 jne .nopagedown -;%endif +.pagednpressed +%else + cmp al,81 + jne .nopagedown +%endif add dword[GUIcurrentcheatviewloc],12 add dword[GUIcurrentcheatcursloc],12 mov ebx,[NumCheats]