mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
OSX: Make sure to use the file system path name, not the URL name (#15038)
This commit is contained in:
parent
ec42d76035
commit
8f70da6b0c
@ -343,7 +343,7 @@ static void frontend_darwin_get_env(int *argc, char *argv[],
|
||||
return;
|
||||
|
||||
bundle_url = CFBundleCopyBundleURL(bundle);
|
||||
bundle_path = CFURLCopyPath(bundle_url);
|
||||
bundle_path = CFURLCopyFileSystemPath(bundle_url, kCFURLPOSIXPathStyle);
|
||||
CFStringGetCString(bundle_path, bundle_path_buf, sizeof(bundle_path_buf), kCFStringEncodingUTF8);
|
||||
CFRelease(bundle_path);
|
||||
CFRelease(bundle_url);
|
||||
|
Loading…
x
Reference in New Issue
Block a user