mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-26 21:36:26 +00:00
Only use runloop_get_system_info function outside retroarch.c
This commit is contained in:
parent
44bf15ad28
commit
5521d58994
@ -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));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user