Skip to content

Commit 19f1887

Browse files
abairemborgerson
authored andcommitted
ui: Add xiso files to loader menu
1 parent 705b5d4 commit 19f1887

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ui/xui/popup-menu.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,9 +390,10 @@ class GamesPopupMenu : public virtual PopupMenu {
390390
std::filesystem::directory_iterator(directory)) {
391391
const auto &file_path = file.path();
392392
if (std::filesystem::is_regular_file(file_path) &&
393-
file_path.extension() == ".iso") {
393+
(file_path.extension() == ".iso" ||
394+
file_path.extension() == ".xiso")) {
394395
sorted_file_names.insert(
395-
{ file_path.stem().string(), file_path });
396+
{ file_path.stem().string(), file_path.string() });
396397
}
397398
}
398399
}

0 commit comments

Comments
 (0)