mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
If rarch_main_wrap_init fails, exit instead of crash.
This commit is contained in:
parent
11e2577a87
commit
7fddcab108
@ -76,7 +76,7 @@ int main(int argc, char *argv[])
|
||||
else
|
||||
{
|
||||
RARCH_ERR("rarch_main_init() failed.\n");
|
||||
g_extern.lifecycle_mode_state |= (1ULL << MODE_MENU);
|
||||
return 1;
|
||||
}
|
||||
|
||||
g_extern.lifecycle_mode_state &= ~(1ULL << MODE_INIT);
|
||||
|
Loading…
x
Reference in New Issue
Block a user