mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 16:48:38 -05:00
Use the citra user path for the sdmc directory
This commit is contained in:
@ -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");
|
||||
|
Reference in New Issue
Block a user