Clear al register after use

This commit is contained in:
pagefault
2001-08-09 16:15:07 +00:00
parent 9e40bdca37
commit 231b3a91c3
3 changed files with 3 additions and 0 deletions

View File

@@ -719,6 +719,7 @@ NEWSYM InitPreGame ; Executes before starting/continuing a game
cmp al,[V8Mode] cmp al,[V8Mode]
je .nochangemode je .nochangemode
xor byte[V8Mode],1 xor byte[V8Mode],1
xor al,al
.nochangemode .nochangemode
.nofs .nofs

View File

@@ -770,6 +770,7 @@ NEWSYM InitPreGame ; Executes before starting/continuing a game
cmp al,[V8Mode] cmp al,[V8Mode]
je .nochangemode je .nochangemode
xor byte[V8Mode],1 xor byte[V8Mode],1
xor al,al
.nochangemode .nochangemode
mov byte[RaisePitch],1 mov byte[RaisePitch],1

View File

@@ -960,6 +960,7 @@ NEWSYM InitPreGame ; Executes before starting/continuing a game
cmp al,[V8Mode] cmp al,[V8Mode]
je .nochangemode je .nochangemode
xor byte[V8Mode],1 xor byte[V8Mode],1
xor al,al
.nochangemode .nochangemode
mov byte[RaisePitch],1 mov byte[RaisePitch],1