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]