mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-24 23:33:02 +00:00
Add support for main files in file picker
This commit is contained in:
parent
94d27b1717
commit
9f8fbce35b
|
@ -550,6 +550,8 @@ void GMainWindow::OnMenuLoadFile() {
|
||||||
for (const auto& piece : game_list->supported_file_extensions)
|
for (const auto& piece : game_list->supported_file_extensions)
|
||||||
extensions += "*." + piece + " ";
|
extensions += "*." + piece + " ";
|
||||||
|
|
||||||
|
extensions += "main ";
|
||||||
|
|
||||||
QString file_filter = tr("Switch Executable") + " (" + extensions + ")";
|
QString file_filter = tr("Switch Executable") + " (" + extensions + ")";
|
||||||
file_filter += ";;" + tr("All Files (*.*)");
|
file_filter += ";;" + tr("All Files (*.*)");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue