diff options
Diffstat (limited to 'emulators/higan/files/patch-icarus_icarus.cpp')
-rw-r--r-- | emulators/higan/files/patch-icarus_icarus.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/emulators/higan/files/patch-icarus_icarus.cpp b/emulators/higan/files/patch-icarus_icarus.cpp deleted file mode 100644 index 311f0a0db489..000000000000 --- a/emulators/higan/files/patch-icarus_icarus.cpp +++ /dev/null @@ -1,23 +0,0 @@ ---- icarus/icarus.cpp.orig 2017-01-11 13:07:07 UTC -+++ icarus/icarus.cpp -@@ -4,6 +4,20 @@ using namespace nall; - #include <hiro/hiro.hpp> - using namespace hiro; - -+auto locateShared(string name) -> string { -+ string location = {Path::program(), name}; -+ if(inode::exists(location)) return location; -+ -+ location = {Path::shared(), "icarus/", name}; -+ if(inode::exists(location)) return location; -+ -+ location = {Path::config(), "icarus/", name}; -+ if(inode::exists(location)) return location; -+ -+ directory::create({Path::local(), "icarus/"}); -+ return {Path::local(), "icarus/", name}; -+} -+ - auto locate(string name) -> string { - string location = {Path::program(), name}; - if(inode::exists(location)) return location; |