Fix a little freeze problem

This commit is contained in:
theoddone33
2001-05-20 05:57:48 +00:00
parent 9650e05b92
commit 891d306f08

View File

@@ -1216,18 +1216,19 @@ GUICheatKeys:
mov dword[GUIcurrentcheatcursloc],0 mov dword[GUIcurrentcheatcursloc],0
.posc .posc
.nopageup .nopageup
%ifdef __LINUX__ ;%ifdef __LINUX__
cmp al, 97 ; uh this freezes the program
je .pagednpressed ;cmp al, 97
cmp dword[numlockptr],1 ;je .pagednpressed
je .nopageup ;cmp dword[numlockptr],1
cmp al,81 ;je .nopageup
jne .nopageup ;cmp al,81
.pagednpressed ;jne .nopageup
%else ;.pagednpressed
;%else
cmp al,81 cmp al,81
jne .nopagedown jne .nopagedown
%endif ;%endif
add dword[GUIcurrentcheatviewloc],12 add dword[GUIcurrentcheatviewloc],12
add dword[GUIcurrentcheatcursloc],12 add dword[GUIcurrentcheatcursloc],12
mov ebx,[NumCheats] mov ebx,[NumCheats]