[higan] 15/34: Look for profiles in shared location.

Tobias Hansen thansen at moszumanska.debian.org
Sun Jun 26 10:44:40 UTC 2016


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository higan.

commit aabf8fc32a10a0b49418c3ae9094960257b6f6f2
Author: Tobias Hansen <thansen at localhost.localdomain>
Date:   Tue Mar 15 23:01:25 2016 +0000

    Look for profiles in shared location.
---
 debian/patches/profiles_in_shared_path.patch | 11 +++++++++++
 debian/patches/series                        |  1 +
 2 files changed, 12 insertions(+)

diff --git a/debian/patches/profiles_in_shared_path.patch b/debian/patches/profiles_in_shared_path.patch
new file mode 100644
index 0000000..4bd50ec
--- /dev/null
+++ b/debian/patches/profiles_in_shared_path.patch
@@ -0,0 +1,11 @@
+--- a/higan/target-tomoko/program/media.cpp
++++ b/higan/target-tomoko/program/media.cpp
+@@ -16,7 +16,7 @@
+ auto Program::loadMedia(Emulator::Interface& emulator_, Emulator::Interface::Media& media, const string& location) -> void {
+   unloadMedia();
+ 
+-  mediaPaths(0) = locate({localpath(), "higan/"}, {media.name, ".sys/"});
++  mediaPaths(0) = locate({sharedpath(), "higan/"}, {media.name, ".sys/"});
+   mediaPaths(media.id) = location;
+   folderPaths.append(location);
+ 
diff --git a/debian/patches/series b/debian/patches/series
index dc6eaa1..4388916 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@ sjlj-declare-xopen-source.patch
 noopt.patch
 use-XDG_CONFIG_HOME.patch
 find_cairo.patch
+profiles_in_shared_path.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/higan.git



More information about the Pkg-games-commits mailing list