Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

loader/nso: Resolve moves not occurring in DecompressSegment

Lioncashd0569a0865e3
diff --git a/src/core/loader/nso.cpp b/src/core/loader/nso.cpp
index 612ff9bf69..575330a86d 100644
--- a/src/core/loader/nso.cpp
+++ b/src/core/loader/nso.cpp
@@ -37,7 +37,7 @@ 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 =
+ std::vector<u8> uncompressed_data =
Common::Compression::DecompressDataLZ4(compressed_data, header.size);
ASSERT_MSG(uncompressed_data.size() == header.size, "{} != {}", header.size,