Fixed Fplay opendialog crash

git-svn-id: svn://kolibrios.org@9025 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
turbocat 2021-07-08 15:30:46 +00:00
parent 048b0de963
commit dbaf91c85e
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
NAME= Fplay
FASM= fasm.exe
FASM= fasm
CC = kos32-gcc
AR = kos32-ar
LD = kos32-ld

View File

@ -83,12 +83,15 @@ _get_moviefile:
push od
call [opendialog_start]
cmp [od.status], 1
jne .fail
popad
mov eax, [od.openfile_path]; selected filePath
ret
.fail:
popad
xor eax, eax
ret