ports/emulators/higan/patches/patch-nall_path_hpp

12 lines
370 B
Text

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("/");