Fixed Fplay opendialog crash
git-svn-id: svn://kolibrios.org@9025 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
048b0de963
commit
dbaf91c85e
@ -1,6 +1,6 @@
|
||||
NAME= Fplay
|
||||
|
||||
FASM= fasm.exe
|
||||
FASM= fasm
|
||||
CC = kos32-gcc
|
||||
AR = kos32-ar
|
||||
LD = kos32-ld
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user