mirror of
https://github.com/libretro/RetroArch
synced 2025-03-17 10:21:26 +00:00
Merge pull request #12145 from MaddTheSane/patch-1
Update platform_darwin.m
This commit is contained in:
commit
3ddd2519f9
@ -166,7 +166,7 @@ static void CFSearchPathForDirectoriesInDomains(unsigned flags,
|
||||
static void CFTemporaryDirectory(char *s, size_t len)
|
||||
{
|
||||
#if __has_feature(objc_arc)
|
||||
CFStringRef path = (__bridge_retained CFStringRef)NSTemporaryDirectory();
|
||||
CFStringRef path = (__bridge CFStringRef)NSTemporaryDirectory();
|
||||
#else
|
||||
CFStringRef path = (CFStringRef)NSTemporaryDirectory();
|
||||
#endif
|
||||
@ -737,6 +737,8 @@ static enum frontend_architecture frontend_darwin_get_arch(void)
|
||||
return FRONTEND_ARCH_X86;
|
||||
if (string_is_equal(buffer.machine, "Power Macintosh"))
|
||||
return FRONTEND_ARCH_PPC;
|
||||
if (string_is_equal(buffer.machine, "arm64"))
|
||||
return FRONTEND_ARCH_ARMV8;
|
||||
|
||||
return FRONTEND_ARCH_NONE;
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user