mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 17:43:02 +00:00
(OSX) Fix build
This commit is contained in:
parent
d55972542b
commit
7a97d300b4
@ -38,11 +38,13 @@ void apple_run_core(NSString* core, const char* file)
|
|||||||
{
|
{
|
||||||
if (!apple_is_running)
|
if (!apple_is_running)
|
||||||
{
|
{
|
||||||
|
#ifndef OSX
|
||||||
char basedir[256];
|
char basedir[256];
|
||||||
fill_pathname_basedir(basedir, file, sizeof(basedir));
|
fill_pathname_basedir(basedir, file, sizeof(basedir));
|
||||||
if (file && access(basedir, R_OK | W_OK | X_OK))
|
if (file && access(basedir, R_OK | W_OK | X_OK))
|
||||||
apple_display_alert(@"The directory containing the selected file has limited permissions. This may "
|
apple_display_alert(@"The directory containing the selected file has limited permissions. This may "
|
||||||
"prevent zipped games from loading, and will cause some cores to not function.", 0);
|
"prevent zipped games from loading, and will cause some cores to not function.", 0);
|
||||||
|
#endif
|
||||||
|
|
||||||
[apple_platform loadingCore:core withFile:file];
|
[apple_platform loadingCore:core withFile:file];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user