Skip to content

Commit

Permalink
fix : fixed exefs_patches detection
Browse files Browse the repository at this point in the history
  • Loading branch information
PoloNX authored Jun 7, 2024
1 parent 6b77dbb commit 65b4910
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/api/mod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -180,4 +180,4 @@ void ModList::setCategory(const Category& category) {
this->currentCategory = category;
currentPage = 1;
updatePage();
}
}

0 comments on commit 65b4910

Please sign in to comment.