[desktop] Fix mod import for romfs mods (#3609)

Forgot a comma :(

Signed-off-by: crueter <crueter@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3609
Reviewed-by: DraVee <dravee@eden-emu.dev>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
This commit is contained in:
crueter 2026-02-22 22:03:32 +01:00
parent d64f7dfe5c
commit 0574d7d2c9
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
1 changed files with 3 additions and 2 deletions

View File

@ -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());