Browse Source
[desktop] Fix mod import for romfs mods
Forgot a comma :(
Signed-off-by: crueter <crueter@eden-emu.dev>
pull/3609/head
crueter
2 weeks ago
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
1 changed files with
3 additions and
2 deletions
-
src/frontend_common/mod_manager.cpp
|
|
|
@ -19,9 +19,10 @@ std::vector<std::filesystem::path> GetModFolder(const std::string& root) { |
|
|
|
auto callback = [&paths](const std::filesystem::directory_entry& entry) -> bool { |
|
|
|
const auto name = entry.path().filename().string(); |
|
|
|
static const std::array<std::string, 5> valid_names = {"exefs", |
|
|
|
"romfs" |
|
|
|
"romfs", |
|
|
|
"romfs_ext", |
|
|
|
"cheats", "romfslite"}; |
|
|
|
"cheats", |
|
|
|
"romfslite"}; |
|
|
|
|
|
|
|
if (std::ranges::find(valid_names, name) != valid_names.end()) { |
|
|
|
paths.emplace_back(entry.path().parent_path()); |
|
|
|
|