Code optimisations

This commit is contained in:
pagefault
2001-09-08 02:39:44 +00:00
parent 6dc7a5c5d5
commit 5a83a92c0a
10 changed files with 1 additions and 81 deletions

View File

@@ -858,7 +858,6 @@ NEWSYM SwitchFullScreen
.loop
mov dword[eax],0FEFEFEFEh
add eax,4
; loop .loop
dec ecx
jnz .loop
@@ -2529,7 +2528,6 @@ guipresstest:
.a
mov byte[pressed+ebx],0
inc ebx
; loop .a
dec ecx
jnz .a
call GUIUnBuffer
@@ -2559,7 +2557,6 @@ guipresstest:
cmp byte[pressed+ebx],0
jne .pressedokay
inc ebx
; loop .b
dec ecx
jnz .b
jmp .again
@@ -2573,7 +2570,6 @@ guipresstest:
mov byte[pressed+ebx],2
.pressedokayb
inc ebx
; loop .a2
dec ecx
jnz .a2
pop ebx
@@ -2624,7 +2620,6 @@ guipresstestb:
cmp byte[pressed+ebx],0
jne .tryagain
inc ebx
; loop .b2
dec ecx
jnz .b2
@@ -2641,7 +2636,6 @@ guipresstestb:
cmp byte[pressed+ebx],0
jne .pressedokay
inc ebx
; loop .b
dec ecx
jnz .b
jmp .again