From ca6e154f0bcc98ff9582f1abba9ea5ee49baafa9 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Wed, 25 Feb 2015 05:45:25 -0600 Subject: [PATCH] Fix a bug on user path re-assignment. The Load directory wasn't being properly reassigned when the user path changed, which causes a bunch of issues with things loading from the wrong place when using the -U option in Dolphin. --- Source/Core/Common/FileUtil.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/Common/FileUtil.cpp b/Source/Core/Common/FileUtil.cpp index e4fc2bb5c7..17a4a3d3c5 100644 --- a/Source/Core/Common/FileUtil.cpp +++ b/Source/Core/Common/FileUtil.cpp @@ -808,6 +808,7 @@ const std::string& GetUserPath(const unsigned int DirIDX, const std::string &new paths[D_SHADERS_IDX] = paths[D_USER_IDX] + SHADERS_DIR DIR_SEP; paths[D_STATESAVES_IDX] = paths[D_USER_IDX] + STATESAVES_DIR DIR_SEP; paths[D_SCREENSHOTS_IDX] = paths[D_USER_IDX] + SCREENSHOTS_DIR DIR_SEP; + paths[D_LOAD_IDX] = paths[D_USER_IDX] + LOAD_DIR DIR_SEP; paths[D_HIRESTEXTURES_IDX] = paths[D_LOAD_IDX] + HIRES_TEXTURES_DIR DIR_SEP; paths[D_DUMP_IDX] = paths[D_USER_IDX] + DUMP_DIR DIR_SEP; paths[D_DUMPFRAMES_IDX] = paths[D_DUMP_IDX] + DUMP_FRAMES_DIR DIR_SEP;