This commit is contained in:
Alcaro
2018-04-02 13:39:40 +02:00
parent 1cede5f62e
commit 9a062dda0f
2 changed files with 2 additions and 1 deletions

View File

@@ -194,6 +194,7 @@ static char * SelectRom(const char * defaultname, const char * title, bool isFor
gtk_file_filter_add_pattern(filterRom, "*.vb");
gtk_file_filter_add_pattern(filterRom, "*.sms");
gtk_file_filter_add_pattern(filterRom, "*.smd");
gtk_file_filter_add_pattern(filterRom, "*.md");
gtk_file_filter_add_pattern(filterRom, "*.ngp");
gtk_file_filter_add_pattern(filterRom, "*.n64");
gtk_file_filter_add_pattern(filterRom, "*.z64");

View File

@@ -174,7 +174,7 @@ bool SelectRom(LPWSTR filename, LPCWSTR title, bool output)
ZeroMemory(&ofn, sizeof(ofn));
ofn.lStructSize=sizeof(ofn);
ofn.hwndOwner=hwndMain;
ofn.lpstrFilter=TEXT("Most Common ROM Files\0*.smc;*.sfc;*.nes;*.gb;*.gbc;*.gba;*.vb;*.sms;*.smd;*.ngp;*.n64;*.z64\0All Files (*.*)\0*.*\0");
ofn.lpstrFilter=TEXT("Most Common ROM Files\0*.smc;*.sfc;*.nes;*.gb;*.gbc;*.gba;*.vb;*.sms;*.smd;*.md;*.ngp;*.n64;*.z64\0All Files (*.*)\0*.*\0");
ofn.lpstrFile=filename;
ofn.nMaxFile=MAX_PATH;
ofn.nFilterIndex=state.lastRomType;