mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-11-24 06:19:25 +03:00
Fix TARGET_OS_IPHONE checks
This commit is contained in:
1 parent
65b024a9a3
commit
6ae4de1f94
5 files changed
+5
-5
No files matched your search
@@ -1331,7 +1331,7 @@ static int PLATFORM_getOSDirectory(char* output, const size_t output_size)
|
||||
}
|
||||
SDL_snprintf(output, output_size, "%s/", externalStoragePath);
|
||||
return 1;
|
||||
#elif defined(TARGET_OS_IPHONE)
|
||||
#elif TARGET_OS_IPHONE
|
||||
// (ab)use SDL APIs to get the path to the Documents folder without needing Objective-C
|
||||
const char* prefsPath = SDL_GetPrefPath("", "");
|
||||
if (prefsPath == NULL)
|
||||
|
||||
Reference in new issue
Block a user