Created
February 11, 2013 20:19
-
-
Save MarianoGnu/4757269 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git "a/C:\\Users\\Mariano\\AppData\\Local\\Temp\\TortoiseGit\\fil5688.tmp\\filefinder-95804c6-left.cpp" "b/C:\\Users\\Mariano\\Documents\\GitHub\\Player\\src\\filefinder.cpp" | |
index af1ecb2..bb6a387 100644 | |
--- "a/C:\\Users\\Mariano\\AppData\\Local\\Temp\\TortoiseGit\\fil5688.tmp\\filefinder-95804c6-left.cpp" | |
+++ "b/C:\\Users\\Mariano\\Documents\\GitHub\\Player\\src\\filefinder.cpp" | |
@@ -225,6 +225,13 @@ void FileFinder::InitRtpPaths() { | |
rtp_path = Registry::ReadStrValue(HKEY_LOCAL_MACHINE, "Software\\ASCII\\RPG" + version_str, "RuntimePackagePath"); | |
if(! rtp_path.empty()) { add_rtp_path(rtp_path); } | |
+ | |
+ rtp_path = Registry::ReadStrValue(HKEY_CURRENT_USER, "Software\\Enterbrain\\rpg" + version_str, "RuntimePackagePath"); | |
+ if(! rtp_path.empty()) { add_rtp_path(rtp_path); } | |
+ | |
+ rtp_path = Registry::ReadStrValue(HKEY_LOCAL_MACHINE, "Software\\Enterbrain\\rpg" + version_str, "RuntimePackagePath"); | |
+ if(! rtp_path.empty()) { add_rtp_path(rtp_path); } | |
+ | |
#elif defined(GEKKO) | |
add_rtp_path("sd:/data/rtp/" + version_str + "/"); | |
add_rtp_path("usb:/data/rtp/" + version_str + "/"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I suggest adding:
too.
And the same code too for x64:
endif