Fixed escape to GUI crash if .srm file is readonly.

This commit is contained in:
n-a-c-h
2004-12-30 18:21:48 +00:00
parent 0b08bd0acf
commit 24fd064c63

View File

@@ -1508,7 +1508,9 @@ NEWSYM SaveSramData
pop edx ;Restore data to save
call Write_File
call Close_File
push edx ;Dirty hack for the next line
.failed
pop edx ;This is needed here because if the jump to failed is carried out, edx is never popped
stim
.savesramdone