diff options
| author | 2014-09-22 22:00:47 -0400 | |
|---|---|---|
| committer | 2014-09-22 22:00:47 -0400 | |
| commit | 07af9a587cb1a0e30ae050315cdbd8246e179b1c (patch) | |
| tree | 07e58711357cec5f368c4544c535b47c7751c678 /src/core/hle/kernel/archive.cpp | |
| parent | Merge pull request #70 from linkmauve/master (diff) | |
| parent | Use the citra user path for the sdmc directory (diff) | |
| download | yuzu-07af9a587cb1a0e30ae050315cdbd8246e179b1c.tar.gz yuzu-07af9a587cb1a0e30ae050315cdbd8246e179b1c.tar.xz yuzu-07af9a587cb1a0e30ae050315cdbd8246e179b1c.zip | |
Merge pull request #116 from archshift/sdmc-dir
Use the citra user path for the sdmc directory
Diffstat (limited to 'src/core/hle/kernel/archive.cpp')
| -rw-r--r-- | src/core/hle/kernel/archive.cpp | 3 |
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() { | |||
| 394 | // http://3dbrew.org/wiki/FS:OpenArchive#Archive_idcodes). Currently the only half-finished | 394 | // http://3dbrew.org/wiki/FS:OpenArchive#Archive_idcodes). Currently the only half-finished |
| 395 | // archive type is SDMC, so it is the only one getting exposed. | 395 | // archive type is SDMC, so it is the only one getting exposed. |
| 396 | 396 | ||
| 397 | // TODO(Link Mauve): don't assume the path separator is '/'. | 397 | std::string sdmc_directory = FileUtil::GetUserPath(D_SDMC_IDX); |
| 398 | std::string sdmc_directory = FileUtil::GetCurrentDir() + "/userdata/sdmc"; | ||
| 399 | auto archive = new FileSys::Archive_SDMC(sdmc_directory); | 398 | auto archive = new FileSys::Archive_SDMC(sdmc_directory); |
| 400 | if (archive->Initialize()) | 399 | if (archive->Initialize()) |
| 401 | CreateArchive(archive, "SDMC"); | 400 | CreateArchive(archive, "SDMC"); |