mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 19:00:14 -05:00
Merge pull request #308 from Subv/more_savedata
SystemSaveData: Fixed a typo that was segfaulting
This commit is contained in:
commit
765dbabdb6
1 changed files with 1 additions and 1 deletions
|
@ -423,7 +423,7 @@ void ArchiveInit() {
|
||||||
std::string systemsavedata_directory = FileUtil::GetUserPath(D_SYSSAVEDATA_IDX);
|
std::string systemsavedata_directory = FileUtil::GetUserPath(D_SYSSAVEDATA_IDX);
|
||||||
auto systemsavedata_archive = std::make_unique<FileSys::Archive_SDMC>(systemsavedata_directory);
|
auto systemsavedata_archive = std::make_unique<FileSys::Archive_SDMC>(systemsavedata_directory);
|
||||||
if (systemsavedata_archive->Initialize()) {
|
if (systemsavedata_archive->Initialize()) {
|
||||||
CreateArchive(std::move(sdmc_archive), ArchiveIdCode::SystemSaveData);
|
CreateArchive(std::move(systemsavedata_archive), ArchiveIdCode::SystemSaveData);
|
||||||
} else {
|
} else {
|
||||||
LOG_ERROR(Service_FS, "Can't instantiate SystemSaveData archive with path %s",
|
LOG_ERROR(Service_FS, "Can't instantiate SystemSaveData archive with path %s",
|
||||||
systemsavedata_directory.c_str());
|
systemsavedata_directory.c_str());
|
||||||
|
|
Loading…
Reference in a new issue