f3 menu is fixed, but the keys still move pretty fast
This commit is contained in:
@@ -1218,7 +1218,11 @@ DetermineNewest:
|
||||
mov dword[newestfiledate],0
|
||||
mov byte[newestfileloc],0
|
||||
|
||||
%ifdef __LINUX__
|
||||
determinenewhelp 0,'t'
|
||||
%else
|
||||
determinenewhelp 0,'T'
|
||||
%endif
|
||||
determinenewhelp 1,'1'
|
||||
determinenewhelp 2,'2'
|
||||
determinenewhelp 3,'3'
|
||||
@@ -1474,6 +1478,7 @@ NEWSYM drawfillboxsc16b
|
||||
|
||||
NEWSYM drawbox
|
||||
; draws a box according to position bl and color dl
|
||||
STUB_ASM
|
||||
xor eax,eax
|
||||
mov al,11
|
||||
mul bl
|
||||
@@ -1597,7 +1602,11 @@ NEWSYM saveselect
|
||||
mov bl,byte[fnamest+eax]
|
||||
push ebx
|
||||
call DetermineNewest
|
||||
%ifdef __LINUX__
|
||||
drawfillboxhelp 0,'t'
|
||||
%else
|
||||
drawfillboxhelp 0,'T'
|
||||
%endif
|
||||
drawfillboxhelp 1,'1'
|
||||
drawfillboxhelp 2,'2'
|
||||
drawfillboxhelp 3,'3'
|
||||
@@ -1686,7 +1695,11 @@ NEWSYM saveselect
|
||||
mov bl,0
|
||||
mov ebx,[statefileloc]
|
||||
mov al,byte[fnamest+ebx]
|
||||
%ifdef __LINUX__
|
||||
cmp al,'t'
|
||||
%else
|
||||
cmp al,'T'
|
||||
%endif
|
||||
jne .noT
|
||||
mov bl,0
|
||||
jmp .nexter
|
||||
@@ -1744,7 +1757,11 @@ NEWSYM saveselect
|
||||
mov byte[pressed+28],0
|
||||
cmp bl,0
|
||||
jne .nozero
|
||||
%ifdef __LINUX__
|
||||
mov al,'t'
|
||||
%else
|
||||
mov al,'T'
|
||||
%endif
|
||||
jmp .save
|
||||
.nozero
|
||||
add bl,48
|
||||
@@ -1860,7 +1877,11 @@ NEWSYM saveselect
|
||||
mov bl,byte[fnamest+eax]
|
||||
push ebx
|
||||
call DetermineNewest
|
||||
%ifdef __LINUX__
|
||||
drawfillboxhelp16b 0,'t'
|
||||
%else
|
||||
drawfillboxhelp16b 0,'T'
|
||||
%endif
|
||||
drawfillboxhelp16b 1,'1'
|
||||
drawfillboxhelp16b 2,'2'
|
||||
drawfillboxhelp16b 3,'3'
|
||||
@@ -1950,7 +1971,11 @@ NEWSYM saveselect
|
||||
mov bl,0
|
||||
mov ebx,[statefileloc]
|
||||
mov al,byte[fnamest+ebx]
|
||||
%ifdef __LINUX__
|
||||
cmp al,'t'
|
||||
%else
|
||||
cmp al,'T'
|
||||
%endif
|
||||
jne .noT16b
|
||||
mov bl,0
|
||||
jmp .nexter16b
|
||||
@@ -1979,7 +2004,11 @@ NEWSYM saveselect
|
||||
push ecx
|
||||
cmp bl,0
|
||||
jne .nozero16b2
|
||||
%ifdef __LINUX__
|
||||
mov cl,'t'
|
||||
%else
|
||||
mov cl,'T'
|
||||
%endif
|
||||
jmp .save16b2
|
||||
.nozero16b2
|
||||
mov cl,bl
|
||||
@@ -2045,7 +2074,11 @@ NEWSYM saveselect
|
||||
mov byte[pressed+28],0
|
||||
cmp bl,0
|
||||
jne .nozero16b
|
||||
%ifdef __LINUX__
|
||||
mov al,'t'
|
||||
%else
|
||||
mov al,'T'
|
||||
%endif
|
||||
jmp .save16b
|
||||
.nozero16b
|
||||
add bl,48
|
||||
|
||||
Reference in New Issue
Block a user