2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

SystemSaveData: Fixed a typo that was segfaulting

This commit is contained in:
Subv 2014-12-18 18:01:47 -05:00
parent f9472eda0a
commit 78e0f36857

View file

@ -423,7 +423,7 @@ void ArchiveInit() {
std::string systemsavedata_directory = FileUtil::GetUserPath(D_SYSSAVEDATA_IDX);
auto systemsavedata_archive = std::make_unique<FileSys::Archive_SDMC>(systemsavedata_directory);
if (systemsavedata_archive->Initialize()) {
CreateArchive(std::move(sdmc_archive), ArchiveIdCode::SystemSaveData);
CreateArchive(std::move(systemsavedata_archive), ArchiveIdCode::SystemSaveData);
} else {
LOG_ERROR(Service_FS, "Can't instantiate SystemSaveData archive with path %s",
systemsavedata_directory.c_str());