diff --git a/branches/work/VerificationFailed/sources/ConsoleBackup/Exporter.cpp b/branches/work/VerificationFailed/sources/ConsoleBackup/Exporter.cpp index b7e6470..6728d3d 100644 --- a/branches/work/VerificationFailed/sources/ConsoleBackup/Exporter.cpp +++ b/branches/work/VerificationFailed/sources/ConsoleBackup/Exporter.cpp @@ -489,14 +489,14 @@ void WriteTwlData(enum common::TWL_PATH_INDEX path) // 進捗表示用 common::InitializeTransferProgress(fileSize); - size_t bufSize = common::GetAllocatableSize(AES_BLOCK_SIZE * 2); + size_t bufSize = common::GetAllocatableSize(AES_BLOCK_SIZE * 4); NN_LOG("AllocatableSize = %d\n", bufSize); if(bufSize > common::FILE_COPY_HEAP_SIZE) { bufSize = common::FILE_COPY_HEAP_SIZE; } - common::HeapManager writeHeap(bufSize, AES_BLOCK_SIZE * 2); + common::HeapManager writeHeap(bufSize, AES_BLOCK_SIZE * 4); void* buf = writeHeap.GetAddr(); if (buf != NULL) { @@ -616,14 +616,14 @@ void WriteTwlSaveData() result = common::SdMountManager::Mount(); COMMON_LOGGER_RETURN_VOID_SET_BOOL_IF_FAILED(result, s_IsExportSucceeded); - size_t bufSize = common::GetAllocatableSize(AES_BLOCK_SIZE * 2); + size_t bufSize = common::GetAllocatableSize(AES_BLOCK_SIZE * 4); NN_LOG("AllocatableSize = %d\n", bufSize); if(bufSize > common::FILE_COPY_HEAP_SIZE) { bufSize = common::FILE_COPY_HEAP_SIZE; } - common::HeapManager writeHeap(bufSize, AES_BLOCK_SIZE * 2); + common::HeapManager writeHeap(bufSize, AES_BLOCK_SIZE * 4); void* buf = writeHeap.GetAddr(); if (buf != NULL) { @@ -767,14 +767,14 @@ void ExportThreadFunc() result = common::SdMountManager::Mount(); - size_t bufSize = common::GetAllocatableSize(AES_BLOCK_SIZE * 2); + size_t bufSize = common::GetAllocatableSize(AES_BLOCK_SIZE * 4); NN_LOG("AllocatableSize = %d\n", bufSize); if(bufSize > common::FILE_COPY_HEAP_SIZE) { bufSize = common::FILE_COPY_HEAP_SIZE; } - common::HeapManager writeHeap(bufSize, AES_BLOCK_SIZE * 2); + common::HeapManager writeHeap(bufSize, AES_BLOCK_SIZE * 4); void* buf = writeHeap.GetAddr(); if (buf != NULL) { diff --git a/branches/work/VerificationFailed/sources/ConsoleRestore/Importer.cpp b/branches/work/VerificationFailed/sources/ConsoleRestore/Importer.cpp index fed88e8..94d77f4 100644 --- a/branches/work/VerificationFailed/sources/ConsoleRestore/Importer.cpp +++ b/branches/work/VerificationFailed/sources/ConsoleRestore/Importer.cpp @@ -706,14 +706,14 @@ void ImportThreadFunc() result = common::SdMountManager::Mount(); COMMON_LOGGER_RETURN_VOID_SET_BOOL_IF_FAILED(result, s_IsImportSucceeded); - size_t bufSize = common::GetAllocatableSize(AES_BLOCK_SIZE * 2); + size_t bufSize = common::GetAllocatableSize(AES_BLOCK_SIZE * 4); NN_LOG("AllocatableSize = %d\n", bufSize); if(bufSize > common::FILE_COPY_HEAP_SIZE) { bufSize = common::FILE_COPY_HEAP_SIZE; } - common::HeapManager heap(bufSize, AES_BLOCK_SIZE * 2); + common::HeapManager heap(bufSize, AES_BLOCK_SIZE * 4); void* buf = heap.GetAddr(); if (buf != NULL) { @@ -1493,7 +1493,7 @@ void ImportTwlData(enum common::TWL_PATH_INDEX path, s64 fileSize) result = common::SdMountManager::Mount(); COMMON_LOGGER_RETURN_VOID_SET_BOOL_IF_FAILED(result, s_IsImportSucceeded); - size_t bufSize = common::GetAllocatableSize(AES_BLOCK_SIZE * 2); + size_t bufSize = common::GetAllocatableSize(AES_BLOCK_SIZE * 4); NN_LOG("AllocatableSize = %d\n", bufSize); if(bufSize > common::FILE_COPY_HEAP_SIZE) { @@ -1503,7 +1503,7 @@ void ImportTwlData(enum common::TWL_PATH_INDEX path, s64 fileSize) // ファイルサイズ設定 common::InitializeTransferProgress(fileSize); - common::HeapManager heap(bufSize, AES_BLOCK_SIZE * 2); + common::HeapManager heap(bufSize, AES_BLOCK_SIZE * 4); void* buf = heap.GetAddr(); if (buf != NULL) { @@ -1538,7 +1538,7 @@ void ImportTwlTitleSaveData(s64 fileSize) result = common::SdMountManager::Mount(); COMMON_LOGGER_RETURN_VOID_SET_BOOL_IF_FAILED(result, s_IsImportSucceeded); - size_t bufSize = common::GetAllocatableSize(AES_BLOCK_SIZE * 2); + size_t bufSize = common::GetAllocatableSize(AES_BLOCK_SIZE * 4); NN_LOG("AllocatableSize = %d\n", bufSize); if(bufSize > common::FILE_COPY_HEAP_SIZE) { @@ -1548,7 +1548,7 @@ void ImportTwlTitleSaveData(s64 fileSize) // ファイルサイズ設定 common::InitializeTransferProgress(fileSize); - common::HeapManager heap(bufSize, AES_BLOCK_SIZE * 2); + common::HeapManager heap(bufSize, AES_BLOCK_SIZE * 4); void* buf = heap.GetAddr(); if (buf != NULL) { diff --git a/branches/work/VerificationFailed/sources/tools/CmacAdder/main.cpp b/branches/work/VerificationFailed/sources/tools/CmacAdder/main.cpp index c8c1f4c..22b7a16 100644 --- a/branches/work/VerificationFailed/sources/tools/CmacAdder/main.cpp +++ b/branches/work/VerificationFailed/sources/tools/CmacAdder/main.cpp @@ -179,13 +179,13 @@ void AddCmacThreadFunc() result = common::SdMountManager::Mount(); - size_t bufSize = common::GetAllocatableSize(AES_BLOCK_SIZE * 2); + size_t bufSize = common::GetAllocatableSize(AES_BLOCK_SIZE * 4); if(bufSize > common::FILE_COPY_HEAP_SIZE) { bufSize = common::FILE_COPY_HEAP_SIZE; } - common::HeapManager heap(bufSize, AES_BLOCK_SIZE * 2); + common::HeapManager heap(bufSize, AES_BLOCK_SIZE * 4); void* buf = heap.GetAddr(); if (buf != NULL) { diff --git a/branches/work/VerificationFailed/sources/tools/ExportedDataDecrypter/main.cpp b/branches/work/VerificationFailed/sources/tools/ExportedDataDecrypter/main.cpp index d07c99f..131ace4 100644 --- a/branches/work/VerificationFailed/sources/tools/ExportedDataDecrypter/main.cpp +++ b/branches/work/VerificationFailed/sources/tools/ExportedDataDecrypter/main.cpp @@ -462,14 +462,14 @@ void DecryptThreadFunc() result = common::SdMountManager::Mount(); - size_t bufSize = common::GetAllocatableSize(AES_BLOCK_SIZE * 2); + size_t bufSize = common::GetAllocatableSize(AES_BLOCK_SIZE * 4); if(bufSize > common::FILE_COPY_HEAP_SIZE) { bufSize = common::FILE_COPY_HEAP_SIZE; } common::SdReaderWriter sdWriter; - common::HeapManager heap(bufSize, AES_BLOCK_SIZE * 2); + common::HeapManager heap(bufSize, AES_BLOCK_SIZE * 4); void* buf = heap.GetAddr(); if (buf != NULL) { diff --git a/branches/work/VerificationFailed/sources/tools/ExportedDataVerifier/main.cpp b/branches/work/VerificationFailed/sources/tools/ExportedDataVerifier/main.cpp index f2748da..ba3afeb 100644 --- a/branches/work/VerificationFailed/sources/tools/ExportedDataVerifier/main.cpp +++ b/branches/work/VerificationFailed/sources/tools/ExportedDataVerifier/main.cpp @@ -384,13 +384,13 @@ void VerifyThreadFunc() result = common::SdMountManager::Mount(); - size_t bufSize = common::GetAllocatableSize(AES_BLOCK_SIZE * 2); + size_t bufSize = common::GetAllocatableSize(AES_BLOCK_SIZE * 4); if(bufSize > common::FILE_COPY_HEAP_SIZE) { bufSize = common::FILE_COPY_HEAP_SIZE; } - common::HeapManager heap(bufSize, AES_BLOCK_SIZE * 2); + common::HeapManager heap(bufSize, AES_BLOCK_SIZE * 4); void* buf = heap.GetAddr(); if (buf != NULL) { diff --git a/branches/work/VerificationFailed/sources/tools/FatDataEncrypter/main.cpp b/branches/work/VerificationFailed/sources/tools/FatDataEncrypter/main.cpp index f09c8e1..8a35d5b 100644 --- a/branches/work/VerificationFailed/sources/tools/FatDataEncrypter/main.cpp +++ b/branches/work/VerificationFailed/sources/tools/FatDataEncrypter/main.cpp @@ -305,13 +305,13 @@ void EncryptThreadFunc() result = common::SdMountManager::Mount(); - size_t bufSize = common::GetAllocatableSize(AES_BLOCK_SIZE * 2); + size_t bufSize = common::GetAllocatableSize(AES_BLOCK_SIZE * 4); if(bufSize > common::FILE_COPY_HEAP_SIZE) { bufSize = common::FILE_COPY_HEAP_SIZE; } - common::HeapManager heap(bufSize, AES_BLOCK_SIZE * 2); + common::HeapManager heap(bufSize, AES_BLOCK_SIZE * 4); void* buf = heap.GetAddr(); if (buf != NULL) {