diff src/sys/osx/filesystem.cc @ 197:c4ca035c565d

*: misc. patches
author Paper <mrpapersonic@gmail.com>
date Fri, 08 Dec 2023 11:19:54 -0500
parents f0ff06a45c42
children
line wrap: on
line diff
--- a/src/sys/osx/filesystem.cc	Thu Dec 07 16:28:11 2023 -0500
+++ b/src/sys/osx/filesystem.cc	Fri Dec 08 11:19:54 2023 -0500
@@ -19,7 +19,7 @@
 
 bool GetApplicationSupportDirectory(std::string& result) {
 	// NSArray* strings = NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSUserDomainMask, ON);
-	const CFArrayRef strings = NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSUserDomainMask, ON);
+	const CFArrayRef strings = NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSUserDomainMask, true);
 	if (!strings)
 		return false;