mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
FIX sceIoOpen return error
This commit is contained in:
parent
6359aee509
commit
90dd2892b0
@ -251,7 +251,7 @@ RFILE *filestream_open(const char *path, unsigned mode, ssize_t unused)
|
||||
#if defined(PSP)
|
||||
stream->fd = sceIoOpen(path, flags, mode_int);
|
||||
|
||||
if (stream->fd == -1)
|
||||
if (stream->fd < 0)
|
||||
goto error;
|
||||
#else
|
||||
#if defined(HAVE_BUFFERED_IO)
|
||||
|
Loading…
x
Reference in New Issue
Block a user