Fixed ZSNES crash/bad exit, if ROM fails to load.

This commit is contained in:
n-a-c-h
2004-01-04 08:59:04 +00:00
parent 751c6fe4e2
commit c0adee9628

View File

@@ -3538,9 +3538,10 @@ NEWSYM loadfileGUI
mov edx,.failop
mov ah,9
call Output_Text
jmp DosExit
.noguic
mov byte[GUIloadfailed],1
jmp DosExit
ret
SECTION .data
.failop db 'Error opening file!',13,10,0