Merge pull request #1152 from crazyquark/master

Fix crash on iOS
This commit is contained in:
Twinaphex 2014-10-14 21:56:28 +02:00
commit da03f518bb
1 changed files with 4 additions and 0 deletions

View File

@ -808,6 +808,10 @@ static void RunActionSheet(const char* title, const struct string_list* items, U
_pathToSave = BOXSTRING(g_defaults.config_path);
}
// If we initialized with a nil core(like when starting up) driver.menu will be NULL
if (!driver.menu)
return NULL;
setting_data = (rarch_setting_t*)driver.menu->list_settings;
if (!setting_data)