Skip to content

Commit f4c9844

Browse files
ejaquayejaquay
authored andcommitted
Change MPI config load pak
In most cases hardware paks are loaded from MPI config. Move "All Files" to the bottom of the file select list when loading a program pak from MPI config. User is first presented with a list of hardware paks (.dlls) in the current load directory. They can select ROM pak (.rom,.ccc,.pak) to filter only rom files. Lastly they can select all paks to see all of those files.
1 parent 971e488 commit f4c9844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mpi/configuration_dialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ void configuration_dialog::select_new_cartridge(slot_id_type slot)
8282
dlg.setTitle("Load Program Pak");
8383
dlg.setInitialDir(configuration_.last_accessed_module_path().c_str());
8484
dlg.setFilter(
85-
"All Pak Types (*.dll; *.rom; *.ccc; *.pak)\0*.dll;*.ccc;*.rom;*.pak\0"
8685
"Hardware Pak (*.dll)\0*.dll\0"
8786
"Rom Pak (*.rom; *.ccc; *.pak)\0*.rom;*.ccc;*.pak\0"
87+
"All Pak Types (*.dll; *.rom; *.ccc; *.pak)\0*.dll;*.ccc;*.rom;*.pak\0"
8888
"\0");
8989
dlg.setFlags(OFN_FILEMUSTEXIST);
9090
if (dlg.show(0, dialog_handle_))

0 commit comments

Comments
 (0)