mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +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;
|
return;
|
||||||
|
|
||||||
bundle_url = CFBundleCopyBundleURL(bundle);
|
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);
|
CFStringGetCString(bundle_path, bundle_path_buf, sizeof(bundle_path_buf), kCFStringEncodingUTF8);
|
||||||
CFRelease(bundle_path);
|
CFRelease(bundle_path);
|
||||||
CFRelease(bundle_url);
|
CFRelease(bundle_url);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user