From 65b4910a4dfe8294c942b9cf98aed60f41b3ca90 Mon Sep 17 00:00:00 2001 From: PoloNX <57038157+PoloNX@users.noreply.github.com> Date: Fri, 7 Jun 2024 06:32:23 +0200 Subject: [PATCH] fix : fixed exefs_patches detection --- source/api/mod.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/api/mod.cpp b/source/api/mod.cpp index 5959a1d..5f36c21 100644 --- a/source/api/mod.cpp +++ b/source/api/mod.cpp @@ -86,7 +86,7 @@ File::File(const std::string &name, const int &size, const std::string &url, con bool File::findRomfsRecursive(const nlohmann::json& obj) { for (const auto& item : obj.items()) { - if (item.key() == "romfs" || item.key() == "exefs"){ + if (item.key() == "romfs" || item.key() == "exefs" || item.key() == "exefs_patches"){ brls::Logger::debug("found romfs"); return true; } @@ -180,4 +180,4 @@ void ModList::setCategory(const Category& category) { this->currentCategory = category; currentPage = 1; updatePage(); -} \ No newline at end of file +}