This commit is contained in:
twinaphex 2016-01-23 19:40:43 +01:00
parent 2d6142a01e
commit 894da665ad

View File

@ -414,8 +414,10 @@ static bool rarch_game_specific_options(char **output)
runloop_ctl(RUNLOOP_CTL_SYSTEM_INFO_GET, &system);
core_name = system ? system->info.library_name : NULL;
game_name = global ? path_basename(global->name.base) : NULL;
if (system)
core_name = system->info.library_name;
if (global)
game_name = path_basename(global->name.base);
if (string_is_empty(core_name) || string_is_empty(game_name))
return false;