[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:
parent
d64f7dfe5c
commit
0574d7d2c9
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in New Issue