If rarch_main_wrap_init fails, exit instead of crash.

This commit is contained in:
Themaister 2013-04-27 23:19:38 +02:00
parent 11e2577a87
commit 7fddcab108

View File

@ -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);