mirror of
https://github.com/mborgerson/xemu.git
synced 2026-02-04 14:55:23 +00:00
ui: Add xiso files to loader menu
This commit is contained in:
@ -390,9 +390,10 @@ public:
|
||||
std::filesystem::directory_iterator(directory)) {
|
||||
const auto &file_path = file.path();
|
||||
if (std::filesystem::is_regular_file(file_path) &&
|
||||
file_path.extension() == ".iso") {
|
||||
(file_path.extension() == ".iso" ||
|
||||
file_path.extension() == ".xiso")) {
|
||||
sorted_file_names.insert(
|
||||
{ file_path.stem().string(), file_path });
|
||||
{ file_path.stem().string(), file_path.string() });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user