More ROM Extensions
Fixes the issue reported by feos (http://tasvideos.org/forum/viewtopic.php?p=430806#430806) where some ROM extensions were not being recognized. I had generated the list of ROM extensions based on the cases in RomLoader->LoadRom(), but am now using the non-developer build list in MainForm->RomFilter(). Unfortunately, this means that if someone adds a file extension in the future (by, say, adding a new core), this list will need updating as well. Also, spaces were replaced by tabs where appropriate.
This commit is contained in:
parent
144f08cfc3
commit
19a7408c6d
|
@ -57,9 +57,8 @@ namespace BizHawk.Client.EmuHawk
|
|||
}
|
||||
}
|
||||
|
||||
readonly string[] knownROMExtensions = { ".M3U", ".ISO", ".CUE", ".CCD", ".XML", ".PSF", ".MINIPSF",
|
||||
".EXE", ".NES", ".83P", ".SNES", ".GB", ".GBC", ".A78",
|
||||
".C64", ".GBA", ".PSX" };
|
||||
// This is the list from MainForm->RomFilter()'s non-developer build. It needs to be kept up-to-date when new cores are added.
|
||||
readonly string[] knownROMExtensions = { ".NES", ".FDS", ".UNF", ".SMS", ".GG", ".SG", ".GB", ".GBC", ".GBA", ".PCE", ".SGX", ".BIN", ".SMD", ".GEN", ".MD", ".SMC", ".SFC", ".A26", ".A78", ".LNX", ".COL", ".ROM", ".M3U", ".CUE", ".CCD", ".SGB", ".Z64", ".V64", ".N64", ".WS", ".WSC", ".XML", ".DSK", ".DO", ".PO", ".PSF", ".MINIPSF", ".NSF" };
|
||||
readonly string[] nonArchive = { ".ISO", ".CUE", ".CCD" };
|
||||
|
||||
#region Loaders
|
||||
|
|
Loading…
Reference in New Issue