summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-09-21 00:11:38 +0200
committerarchshift <admin@archshift.com>2014-09-21 18:34:33 +0200
commit1966f7b0ad275e9ef8ea26de32b4fda8129e0998 (patch)
tree07e58711357cec5f368c4544c535b47c7751c678 /src/core
parentMerge pull request #70 from linkmauve/master (diff)
downloadyuzu-1966f7b0ad275e9ef8ea26de32b4fda8129e0998.tar
yuzu-1966f7b0ad275e9ef8ea26de32b4fda8129e0998.tar.gz
yuzu-1966f7b0ad275e9ef8ea26de32b4fda8129e0998.tar.bz2
yuzu-1966f7b0ad275e9ef8ea26de32b4fda8129e0998.tar.lz
yuzu-1966f7b0ad275e9ef8ea26de32b4fda8129e0998.tar.xz
yuzu-1966f7b0ad275e9ef8ea26de32b4fda8129e0998.tar.zst
yuzu-1966f7b0ad275e9ef8ea26de32b4fda8129e0998.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/kernel/archive.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/kernel/archive.cpp b/src/core/hle/kernel/archive.cpp
index a7fa661d6..fa4972994 100644
--- a/src/core/hle/kernel/archive.cpp
+++ b/src/core/hle/kernel/archive.cpp
@@ -394,8 +394,7 @@ void ArchiveInit() {
// http://3dbrew.org/wiki/FS:OpenArchive#Archive_idcodes). Currently the only half-finished
// archive type is SDMC, so it is the only one getting exposed.
- // TODO(Link Mauve): don't assume the path separator is '/'.
- std::string sdmc_directory = FileUtil::GetCurrentDir() + "/userdata/sdmc";
+ std::string sdmc_directory = FileUtil::GetUserPath(D_SDMC_IDX);
auto archive = new FileSys::Archive_SDMC(sdmc_directory);
if (archive->Initialize())
CreateArchive(archive, "SDMC");