From 8a37f953df8dd7243e6fb0f97d89371acf8de18b Mon Sep 17 00:00:00 2001 From: louist103 <35883445+louist103@users.noreply.github.com> Date: Sun, 30 Mar 2025 18:32:16 -0400 Subject: Only check for YARs with MM roms --- ZAPD/ZRom.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'ZAPD/ZRom.cpp') diff --git a/ZAPD/ZRom.cpp b/ZAPD/ZRom.cpp index 2536589..c9cc8d7 100644 --- a/ZAPD/ZRom.cpp +++ b/ZAPD/ZRom.cpp @@ -252,10 +252,11 @@ ZRom::ZRom(std::string romPath) auto outData = std::vector(); outData.resize(size); memcpy(outData.data(), romData.data() + physStart, size); - - if ((i >= 15 && i <= 20) || i == 22) - { - yarCompressed = true; + if (Globals::Instance->game == ZGame::MM_RETAIL) { + if ((i >= 15 && i <= 20) || i == 22) + { + yarCompressed = true; + } } if (compressed) -- cgit v1.2.3