From f3402d8c9fe789d3f8a43edbd2a07e06b17a292b Mon Sep 17 00:00:00 2001 From: KiritoDv Date: Thu, 17 Aug 2023 15:10:35 -0600 Subject: Fixed windows compilation --- src/utils/MIODecoder.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/utils') diff --git a/src/utils/MIODecoder.cpp b/src/utils/MIODecoder.cpp index aed5eba..14f8eff 100644 --- a/src/utils/MIODecoder.cpp +++ b/src/utils/MIODecoder.cpp @@ -3,6 +3,7 @@ extern "C" { #include } +#include std::unordered_map> MIO0Decoder::gCachedChunks; @@ -11,7 +12,7 @@ std::vector& MIO0Decoder::Decode(std::vector& buffer, uint32_t of mio0_header_t head; if(!mio0_decode_header(in_buf, &head)){ - throw std::runtime_error("Invalid MIO0 header"); + throw std::runtime_error("Failed to decode MIO0 header"); } uint8_t* decompressed = new uint8_t[head.dest_size]; -- cgit v1.2.3