Fixes bug on resume in Tetris: DOWN and spacebar disabled during pause.

git-svn-id: svn://kolibrios.org@4604 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
dnivra 2014-03-03 15:31:16 +00:00
parent dbcb8efb15
commit 336ce09e1c

View File

@ -213,6 +213,8 @@ adr50: jmp scendi
adr51: cmp ah,DOWN_KEY adr51: cmp ah,DOWN_KEY
jne adr61 jne adr61
cmp dword[pauses], 1 ; fixes bug on resume
je adr52
cmp [force_down], 1 cmp [force_down], 1
jne scendi jne scendi
mov byte [delay],5 ;!!! 2 mov byte [delay],5 ;!!! 2
@ -220,6 +222,8 @@ adr52: jmp scendi
adr61: cmp ah,' ' adr61: cmp ah,' '
jne adr62 jne adr62
cmp dword[pauses], 1 ; fixes bug on resume
je adr62
cmp [force_down], 1 cmp [force_down], 1
jne scendi jne scendi
mov byte [delay],5 ;!!! 2 mov byte [delay],5 ;!!! 2