Only use runloop_get_system_info function outside retroarch.c

This commit is contained in:
twinaphex 2017-05-29 05:38:33 +02:00
parent 44bf15ad28
commit 5521d58994

View File

@ -1091,7 +1091,7 @@ bool retroarch_validate_game_options(char *s, size_t len, bool mkdir)
{
char core_path[PATH_MAX_LENGTH];
char config_directory[PATH_MAX_LENGTH];
rarch_system_info_t *system = runloop_get_system_info();
rarch_system_info_t *system = &runloop_system;
const char *core_name = system ? system->info.library_name : NULL;
const char *game_name = path_basename(path_get(RARCH_PATH_BASENAME));