1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-08 20:25:47 +00:00

Add early return to rarch_fail

This commit is contained in:
twinaphex 2015-03-29 19:17:59 +02:00
parent 105a12287d
commit 96012b2eee

View File

@ -139,6 +139,9 @@ static INLINE void rarch_fail(int error_code, const char *error)
{
global_t *global = global_get_ptr();
if (!global)
return;
/* We cannot longjmp unless we're in rarch_main_init().
* If not, something went very wrong, and we should
* just exit right away. */