mirror of
https://github.com/Dark98/threeSD.git
synced 2026-07-03 16:49:04 +00:00
More refactor going on
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "core/decryptor.h"
|
||||
#include "core/file_sys/data/data_container.h"
|
||||
#include "core/file_sys/data/extdata.h"
|
||||
#include "core/sdmc_decryptor.h"
|
||||
|
||||
namespace Core {
|
||||
|
||||
|
||||
@@ -442,7 +442,7 @@ bool NCCHContainer::DecryptToFile(std::shared_ptr<FileUtil::IOFile> dest_file,
|
||||
}
|
||||
|
||||
if (!is_encrypted) {
|
||||
// Simply copy everything. QuickDecryptor is used for progress reporting
|
||||
// Simply copy everything. FileDecryptor is used for progress reporting
|
||||
file->Seek(0, SEEK_SET);
|
||||
|
||||
const auto size = file->GetSize();
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include "common/file_util.h"
|
||||
#include "common/progress_callback.h"
|
||||
#include "common/swap.h"
|
||||
#include "core/decryptor.h"
|
||||
#include "core/sdmc_decryptor.h"
|
||||
|
||||
namespace Core {
|
||||
|
||||
@@ -305,7 +305,7 @@ private:
|
||||
std::shared_ptr<FileUtil::IOFile> exefs_file;
|
||||
|
||||
// Used for DecryptToFile
|
||||
QuickDecryptor decryptor;
|
||||
FileDecryptor decryptor;
|
||||
std::atomic_bool aborted{false};
|
||||
|
||||
friend class CIABuilder;
|
||||
|
||||
Reference in New Issue
Block a user