mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-15 14:43:06 +00:00
Merge pull request #3710 from lioncash/nso
loader/nso: Resolve moves not occurring in DecompressSegment
This commit is contained in:
commit
89e512ca8d
|
@ -37,7 +37,7 @@ static_assert(sizeof(MODHeader) == 0x1c, "MODHeader has incorrect size.");
|
||||||
|
|
||||||
std::vector<u8> DecompressSegment(const std::vector<u8>& compressed_data,
|
std::vector<u8> DecompressSegment(const std::vector<u8>& compressed_data,
|
||||||
const NSOSegmentHeader& header) {
|
const NSOSegmentHeader& header) {
|
||||||
const std::vector<u8> uncompressed_data =
|
std::vector<u8> uncompressed_data =
|
||||||
Common::Compression::DecompressDataLZ4(compressed_data, header.size);
|
Common::Compression::DecompressDataLZ4(compressed_data, header.size);
|
||||||
|
|
||||||
ASSERT_MSG(uncompressed_data.size() == header.size, "{} != {}", header.size,
|
ASSERT_MSG(uncompressed_data.size() == header.size, "{} != {}", header.size,
|
||||||
|
|
Loading…
Reference in a new issue