mirror of
https://github.com/Dark98/threeSD.git
synced 2026-07-03 08:39:04 +00:00
Generalize QuickDecryptor
This commit is contained in:
@@ -196,8 +196,8 @@ bool SDMCImporter::ImportNandTitle(const ContentSpecifier& specifier,
|
||||
LOG_ERROR(Core, "Could not create path {}", citra_path);
|
||||
return false;
|
||||
}
|
||||
// Do not specify keys: plain copy with progress.
|
||||
return quick_decryptor.DecryptAndWriteFile(
|
||||
// Crypto is not set: plain copy with progress.
|
||||
return quick_decryptor.CryptAndWriteFile(
|
||||
std::make_shared<FileUtil::IOFile>(physical_path, "rb"),
|
||||
FileUtil::GetSize(physical_path),
|
||||
std::make_shared<FileUtil::IOFile>(citra_path, "wb"), callback);
|
||||
|
||||
Reference in New Issue
Block a user