ports/emulators/higan/patches/patch-nall_path_hpp

13 lines
370 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: nall/path.hpp
--- nall/path.hpp.orig
+++ nall/path.hpp
@@ -117,7 +117,7 @@ inline auto shared() -> string {
#elif defined(PLATFORM_MACOS)
string result = "/Library/Application Support/";
#else
- string result = "/usr/share/";
+ string result = "${PREFIX}/share/";
#endif
if(!result) result = ".";
if(!result.endsWith("/")) result.append("/");