@@ -51,15 +51,16 @@ public class FileDialogHelper
5151 List < FilePickerFileType > filter = new List < FilePickerFileType > ( ) ;
5252 foreach ( string ext in extensions ) {
5353 if ( ext == FileDialogHelper . RomExt ) {
54- filter . Add ( new FilePickerFileType ( "All ROM files" ) { Patterns = new List < string > ( ) {
54+ filter . Add ( new FilePickerFileType ( "All supported files" ) { Patterns = new List < string > ( ) {
5555 "*.sfc" , "*.fig" , "*.smc" , "*.bs" , "*.st" , "*.spc" ,
5656 "*.nes" , "*.fds" , "*.qd" , "*.unif" , "*.unf" , "*.studybox" , "*.nsf" , "*.nsfe" ,
5757 "*.gb" , "*.gbc" , "*.gbx" , "*.gbs" ,
5858 "*.pce" , "*.sgx" , "*.cue" , "*.hes" ,
5959 "*.sms" , "*.gg" , "*.sg" , "*.col" ,
6060 "*.gba" ,
6161 "*.ws" , "*.wsc" ,
62- "*.zip" , "*.7z"
62+ "*.zip" , "*.7z" ,
63+ "*.ips" , "*.bps"
6364 } } ) ;
6465 filter . Add ( new FilePickerFileType ( "SNES ROM files" ) { Patterns = new List < string > ( ) { "*.sfc" , "*.fig" , "*.smc" , "*.bs" , "*.st" , "*.spc" } } ) ;
6566 filter . Add ( new FilePickerFileType ( "NES ROM files" ) { Patterns = new List < string > ( ) { "*.nes" , "*.fds" , "*.qd" , "*.unif" , "*.unf" , "*.studybox" , "*.nsf" , "*.nsfe" } } ) ;
@@ -70,6 +71,7 @@ public class FileDialogHelper
7071 filter . Add ( new FilePickerFileType ( "SG-1000 ROM files" ) { Patterns = new List < string > ( ) { "*.sg" } } ) ;
7172 filter . Add ( new FilePickerFileType ( "ColecoVision ROM files" ) { Patterns = new List < string > ( ) { "*.col" } } ) ;
7273 filter . Add ( new FilePickerFileType ( "WonderSwan ROM files" ) { Patterns = new List < string > ( ) { "*.ws" , "*.wsc" } } ) ;
74+ filter . Add ( new FilePickerFileType ( "Patch files (IPS/BPS)" ) { Patterns = new List < string > ( ) { "*.ips" , "*.bps" } } ) ;
7375 } else if ( ext == FileDialogHelper . FirmwareExt ) {
7476 filter . Add ( new FilePickerFileType ( "All firmware files" ) { Patterns = new List < string > ( ) { "*.sfc" , "*.pce" , "*.nes" , "*.bin" , "*.rom" , "*.col" , "*.sms" , "*.gg" , "*.gba" } } ) ;
7577 } else if ( ext == FileDialogHelper . LabelFileExt ) {
0 commit comments