diff options
| author | unknown <FreddyFunk@users.noreply.github.com> | 2019-02-08 06:45:50 +0100 |
|---|---|---|
| committer | FreddyFunk <FreddyFunk@users.noreply.github.com> | 2019-03-29 18:12:42 +0100 |
| commit | 27aac8d363f235d38610760e863e907545faa5ef (patch) | |
| tree | 1b62eaf1f16edfe93ce84c61bed9357d55e1e4e6 /src/core/loader/nso.cpp | |
| parent | 44e5cc7a2997c72c16728c34fd3863683c992e0e (diff) | |
Addressed feedback
Diffstat (limited to 'src/core/loader/nso.cpp')
| -rw-r--r-- | src/core/loader/nso.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/loader/nso.cpp b/src/core/loader/nso.cpp index 8aeabe4095..df2fb7b7f1 100644 --- a/src/core/loader/nso.cpp +++ b/src/core/loader/nso.cpp @@ -5,11 +5,11 @@ #include <cinttypes> #include <vector> -#include "common/data_compression.h" #include "common/common_funcs.h" #include "common/file_util.h" #include "common/hex_util.h" #include "common/logging/log.h" +#include "common/lz4_compression.h" #include "common/swap.h" #include "core/core.h" #include "core/file_sys/patch_manager.h" @@ -37,10 +37,10 @@ static_assert(sizeof(MODHeader) == 0x1c, "MODHeader has incorrect size."); std::vector<u8> DecompressSegment(const std::vector<u8>& compressed_data, const NSOSegmentHeader& header) { const std::vector<u8> uncompressed_data = - Compression::DecompressDataLZ4(compressed_data, header.size); + Common::Compression::DecompressDataLZ4(compressed_data, header.size); - ASSERT_MSG(uncompressed_data.size() == static_cast<int>(header.size), - "{} != {}", header.size, uncompressed_data.size()); + ASSERT_MSG(uncompressed_data.size() == static_cast<int>(header.size), "{} != {}", header.size, + uncompressed_data.size()); return uncompressed_data; } |
