mirror of
https://github.com/libretro/RetroArch
synced 2025-03-20 10:20:51 +00:00
parent
7b711214a7
commit
bc5805e8e6
@ -110,11 +110,16 @@ bool fill_pathname_application_data(char *s, size_t len)
|
||||
portable = true;
|
||||
#else
|
||||
CFStringRef key = CFStringCreateWithCString(NULL, "RAPortableInstall", kCFStringEncodingUTF8);
|
||||
CFBooleanRef val = CFBundleGetValueForInfoDictionaryKey(bundle, key);
|
||||
if (val)
|
||||
portable = CFBooleanGetValue(val);
|
||||
CFRelease(val);
|
||||
CFRelease(key);
|
||||
if (key)
|
||||
{
|
||||
CFBooleanRef val = CFBundleGetValueForInfoDictionaryKey(bundle, key);
|
||||
if (val)
|
||||
{
|
||||
portable = CFBooleanGetValue(val);
|
||||
CFRelease(val);
|
||||
}
|
||||
CFRelease(key);
|
||||
}
|
||||
#endif
|
||||
if (portable)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user