mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
(ffmpeg) Better error handling
This commit is contained in:
parent
e8f550b528
commit
fa6dc9ec52
@ -1568,6 +1568,9 @@ bool CORE_PREFIX(retro_load_game)(const struct retro_game_info *info)
|
|||||||
{ 0 },
|
{ 0 },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (!info)
|
||||||
|
return false;
|
||||||
|
|
||||||
CORE_PREFIX(environ_cb)(RETRO_ENVIRONMENT_SET_INPUT_DESCRIPTORS, desc);
|
CORE_PREFIX(environ_cb)(RETRO_ENVIRONMENT_SET_INPUT_DESCRIPTORS, desc);
|
||||||
|
|
||||||
if (!CORE_PREFIX(environ_cb)(RETRO_ENVIRONMENT_SET_PIXEL_FORMAT, &fmt))
|
if (!CORE_PREFIX(environ_cb)(RETRO_ENVIRONMENT_SET_PIXEL_FORMAT, &fmt))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user