mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
2f4b88779c
Signed-off-by: B. Watson <yalhcru@gmail.com>
26 lines
1.2 KiB
Diff
26 lines
1.2 KiB
Diff
diff -rupN higan_v106-source.orig/higan/target-tomoko/tomoko.cpp higan_v106-source/higan/target-tomoko/tomoko.cpp
|
|
--- higan_v106-source.orig/higan/target-tomoko/tomoko.cpp 2017-12-27 23:48:31.103245742 +0100
|
|
+++ higan_v106-source/higan/target-tomoko/tomoko.cpp 2017-12-27 23:49:19.728586352 +0100
|
|
@@ -11,6 +11,9 @@ auto locate(string name) -> string {
|
|
location = {Path::config(), "higan/", name};
|
|
if(inode::exists(location)) return location;
|
|
|
|
+ location = {Path::shared(), "higan/", name};
|
|
+ if(inode::exists(location)) return location;
|
|
+
|
|
directory::create({Path::local(), "higan/"});
|
|
return {Path::local(), "higan/", name};
|
|
}
|
|
diff -rupN higan_v106-source.orig/icarus/icarus.cpp higan_v106-source/icarus/icarus.cpp
|
|
--- higan_v106-source.orig/icarus/icarus.cpp 2017-12-27 23:48:31.109912227 +0100
|
|
+++ higan_v106-source/icarus/icarus.cpp 2017-12-27 23:49:02.672384569 +0100
|
|
@@ -11,6 +11,9 @@ auto locate(string name) -> string {
|
|
location = {Path::config(), "icarus/", name};
|
|
if(inode::exists(location)) return location;
|
|
|
|
+ location = {Path::shared(), "icarus/", name};
|
|
+ if(inode::exists(location)) return location;
|
|
+
|
|
directory::create({Path::local(), "icarus/"});
|
|
return {Path::local(), "icarus/", name};
|
|
}
|