mirror of
https://github.com/libretro/RetroArch
synced 2025-02-26 06:40:39 +00:00
(Apple) Fix issue when loading RGUI with the dummy core
This commit is contained in:
parent
7d6b4cdd26
commit
1eb78a9481
@ -132,8 +132,11 @@ void apple_run_core(RAModuleInfo* core, const char* file)
|
||||
static char file_path[PATH_MAX];
|
||||
|
||||
static const char* argv[] = { "retroarch", "-c", config_path, "-L", core_path, file_path, 0 };
|
||||
|
||||
strlcpy(config_path, apple_core.configPath.UTF8String, sizeof(config_path));
|
||||
|
||||
if (apple_core)
|
||||
strlcpy(config_path, apple_core.configPath.UTF8String, sizeof(config_path));
|
||||
else
|
||||
strlcpy(config_path, RAModuleInfo.globalConfigPath.UTF8String, sizeof(config_path));
|
||||
|
||||
if (file && core)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user