Fixed crash bug when selecting a quick menu selection other than the first one while the load window is opened.
This commit is contained in:
@@ -1028,7 +1028,7 @@ GetLoadHeader:
|
|||||||
jnz .loop3
|
jnz .loop3
|
||||||
ret
|
ret
|
||||||
|
|
||||||
.invfile db 255,'** INVALID FILE **',0
|
.invfile db ' ** INVALID FILE **',0
|
||||||
fnameheadtemp times 22 db 0
|
fnameheadtemp times 22 db 0
|
||||||
|
|
||||||
GetNormalDirEntries2:
|
GetNormalDirEntries2:
|
||||||
@@ -1441,6 +1441,7 @@ NEWSYM DTALoc, times 2048+32 db 0
|
|||||||
|
|
||||||
; Routines to load from the Quick Menu
|
; Routines to load from the Quick Menu
|
||||||
loadquickfname:
|
loadquickfname:
|
||||||
|
pushad
|
||||||
.trynext
|
.trynext
|
||||||
cmp byte[GUIwinptr],0
|
cmp byte[GUIwinptr],0
|
||||||
je near .noclose
|
je near .noclose
|
||||||
@@ -1459,6 +1460,7 @@ loadquickfname:
|
|||||||
mov [GUIcmenupos],al
|
mov [GUIcmenupos],al
|
||||||
jmp .trynext
|
jmp .trynext
|
||||||
.noclose
|
.noclose
|
||||||
|
popad
|
||||||
|
|
||||||
; move menuitem to top
|
; move menuitem to top
|
||||||
cmp ecx,0
|
cmp ecx,0
|
||||||
|
|||||||
Reference in New Issue
Block a user