Fix freeze code the right way
This commit is contained in:
@@ -1216,19 +1216,18 @@ GUICheatKeys:
|
|||||||
mov dword[GUIcurrentcheatcursloc],0
|
mov dword[GUIcurrentcheatcursloc],0
|
||||||
.posc
|
.posc
|
||||||
.nopageup
|
.nopageup
|
||||||
;%ifdef __LINUX__
|
%ifdef __LINUX__
|
||||||
; uh this freezes the program
|
cmp al, 97
|
||||||
;cmp al, 97
|
je .pagednpressed
|
||||||
;je .pagednpressed
|
cmp dword[numlockptr],1
|
||||||
;cmp dword[numlockptr],1
|
je .nopagedown
|
||||||
;je .nopageup
|
|
||||||
;cmp al,81
|
|
||||||
;jne .nopageup
|
|
||||||
;.pagednpressed
|
|
||||||
;%else
|
|
||||||
cmp al,81
|
cmp al,81
|
||||||
jne .nopagedown
|
jne .nopagedown
|
||||||
;%endif
|
.pagednpressed
|
||||||
|
%else
|
||||||
|
cmp al,81
|
||||||
|
jne .nopagedown
|
||||||
|
%endif
|
||||||
add dword[GUIcurrentcheatviewloc],12
|
add dword[GUIcurrentcheatviewloc],12
|
||||||
add dword[GUIcurrentcheatcursloc],12
|
add dword[GUIcurrentcheatcursloc],12
|
||||||
mov ebx,[NumCheats]
|
mov ebx,[NumCheats]
|
||||||
|
|||||||
Reference in New Issue
Block a user