mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 03:40:24 +00:00
fixed setting CFDocumentDirectory to not be iOS specific and respect other apple environments
This commit is contained in:
parent
ef0cfb2504
commit
57c6686a19
@ -115,10 +115,10 @@ static NSSearchPathDirectory NSConvertFlagsCF(unsigned flags)
|
||||
switch (flags)
|
||||
{
|
||||
case CFDocumentDirectory:
|
||||
#if TARGET_OS_IOS
|
||||
return NSDocumentDirectory;
|
||||
#elif TARGET_OS_TV
|
||||
return NSCachesDirectory;
|
||||
#if TARGET_OS_TV
|
||||
return NSCachesDirectory;
|
||||
#else
|
||||
return NSDocumentDirectory;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user