Cleanup system IDs (see desc.)

* `Game Gear` was used instead of `GGL` for linked GG multi-disk bundles and
core constructor (I assume the latter was a hack to fix loading bundles made
with the former bug in effect)
* `Arcade` was used instead of `MAME` in rom loading ("Arcade" is also assigned
to an out param in the MAME ctor but I assume that's an intentional placeholder)
* `Saturn` was used instead of `SAT` in `GameSharkDecoder.CheatDomainName`,
making it non-functional (a comment said it was probably incorrect, so I'm
assuming that if it runs something will break and putting it in #if false)
* `G7400` was only used in firmware IDs, replaced with `O2`
* `Vectrex` was only used in firmware IDs, replaced with `VEC`
* `uzem` (core name) was used instead of `UZE` for MainForm title lookup, making
it non-functional
* `DNGP` doesn't exist
This commit is contained in:
YoshiRulz 2021-02-25 16:17:56 +10:00
parent c11d410fb7
commit fece6cf7c4
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
12 changed files with 19 additions and 20 deletions

View File

@ -62,7 +62,6 @@ namespace BizHawk.Client.Common
"MSX" => CoreSystem.MSX,
"VB" => CoreSystem.VirtualBoy,
"NGP" => CoreSystem.NeoGeoPocket,
"DNGP" => CoreSystem.NeoGeoPocket,
"SGB" => CoreSystem.SuperGameBoy,
"UZE" => CoreSystem.UzeBox,
"PCFX" => CoreSystem.PcFx,

View File

@ -460,7 +460,7 @@ namespace BizHawk.Client.Common
game.System = "SGB";
}
break;
case "Arcade":
case "MAME":
nextEmulator = new MAME(
file.Directory,
file.CanonicalName,

View File

@ -42,7 +42,9 @@ namespace BizHawk.Client.Common.cheats
{
"N64" => "RDRAM",
"PSX" => "MainRAM",
"Saturn" => "Work Ram High", // Work RAM High may be incorrect?
#if false
"SAT" => "Work Ram High", // Work RAM High may be incorrect?
#endif
_ => null
};

View File

@ -91,7 +91,7 @@ namespace BizHawk.Client.EmuHawk.CoreExtensions
"ChannelF" => "Channel F",
"O2" => "Odyssey2",
"MAME" => "MAME",
"uzem" => "uzem",
"UZE" => "uzem",
"PCFX" => "PCFX",
_ => string.Empty
};

View File

@ -58,7 +58,7 @@ namespace BizHawk.Client.EmuHawk
["PSX"] = "PlayStation",
["Lynx"] = "Lynx",
["AppleII"] = "Apple II",
["O2"] = "Odyssey 2",
["O2"] = "Odyssey 2 / Philips Videopac+ G7400",
["GB"] = "Game Boy",
["GBC"] = "Game Boy Color",
["PCFX"] = "PC-FX",
@ -66,9 +66,8 @@ namespace BizHawk.Client.EmuHawk
["ZXSpectrum"] = "ZX Spectrum",
["AmstradCPC"] = "Amstrad CPC",
["ChannelF"] = "Channel F",
["Vectrex"] = "Vectrex",
["VEC"] = "Vectrex",
["MSX"] = "MSX",
["G7400"] = "Philips Videopac+ G7400",
["PS2"] = "Sony PlayStation 2",
};

View File

@ -149,7 +149,7 @@
"SAT",
"ZXSpectrum",
"AmstradCPC",
"Game Gear"});
"GGL"});
this.SystemDropDown.Location = new System.Drawing.Point(405, 75);
this.SystemDropDown.Name = "SystemDropDown";
this.SystemDropDown.Size = new System.Drawing.Size(89, 21);

View File

@ -60,7 +60,7 @@ namespace BizHawk.Client.EmuHawk
}
else if (Emulator is SMS sms && sms.IsGameGear)
{
SystemDropDown.SelectedItem = "Game Gear";
SystemDropDown.SelectedItem = "GGL";
}
FileSelectors.First().Path = MainForm.CurrentlyOpenRom;

View File

@ -382,7 +382,7 @@ namespace BizHawk.Emulation.Common
// refactor to use mame db (output of "mame -listxml" command)
// there's no good definition for Arcade anymore, so we might limit to coin-based machines?
case ".ZIP":
game.System = "Arcade";
game.System = "MAME";
break;
}

View File

@ -79,8 +79,8 @@ namespace BizHawk.Emulation.Common
FirmwareAndOption("45BEDC4CBDEAC66C7DF59E9E599195C778D86A92", 8192, "Coleco", "Bios", "Coleco_Bios.bin", "Bios");
FirmwareAndOption("B9BBF5BB0EAC52D039A4A993A2D8064B862C9E28", 4096, "Vectrex", "Bios", "Vectrex_Bios.bin", "Bios");
FirmwareAndOption("65D07426B520DDD3115D40F255511E0FD2E20AE7", 8192, "Vectrex", "Minestorm", "Vectrex_Minestorm.vec", "Game");
FirmwareAndOption("B9BBF5BB0EAC52D039A4A993A2D8064B862C9E28", 4096, "VEC", "Bios", "Vectrex_Bios.bin", "Bios");
FirmwareAndOption("65D07426B520DDD3115D40F255511E0FD2E20AE7", 8192, "VEC", "Minestorm", "Vectrex_Minestorm.vec", "Game");
var gbaNormal = File("300C20DF6731A33952DED8C436F7F186D25D3492", 16384, "GBA_bios.rom", "Bios (World)");
var gbaJDebug = File("AA98A2AD32B86106340665D1222D7D973A1361C7", 16384, "GBA_bios_Debug-(J).rom", "Bios (J Debug)");
@ -281,9 +281,9 @@ namespace BizHawk.Emulation.Common
var appleII_DiskII = File("D4181C9F046AAFC3FB326B381BAAC809D9E38D16", 256, "AppleIIe_DiskII.rom", "Disk II");
Option("AppleII", "DiskII", in appleII_DiskII);
FirmwareAndOption("B2E1955D957A475DE2411770452EFF4EA19F4CEE", 1024, "O2", "BIOS", "O2_Odyssey2.bin", "Odyssey 2 Bios");
FirmwareAndOption("B2E1955D957A475DE2411770452EFF4EA19F4CEE", 1024, "O2", "BIOS-O2", "O2_Odyssey2.bin", "Odyssey 2 Bios");
FirmwareAndOption("A6120AED50831C9C0D95DBDF707820F601D9452E", 1024, "O2", "BIOS-C52", "O2_PhillipsC52.bin", "Phillips C52 Bios");
FirmwareAndOption("5130243429B40B01A14E1304D0394B8459A6FBAE", 1024, "G7400", "BIOS", "G7400_bios.bin", "G7400 Bios");
FirmwareAndOption("5130243429B40B01A14E1304D0394B8459A6FBAE", 1024, "O2", "BIOS-G7400", "G7400_bios.bin", "G7400 Bios");
Firmware("GB", "World", "Game Boy Boot Rom");
Option("GB", "World", File("4ED31EC6B0B175BB109C0EB5FD3D193DA823339F", 256, "dmg.bin", "Game Boy Boot Rom"), FirmwareOptionStatus.Ideal);

View File

@ -57,10 +57,10 @@ namespace BizHawk.Emulation.Cores.Consoles.Vectrex
byte[] Bios = null;
byte[] Mine = null;
Bios = comm.CoreFileProvider.GetFirmware("Vectrex", "Bios", true, "BIOS Not Found, Cannot Load");
Bios = comm.CoreFileProvider.GetFirmware("VEC", "Bios", true, "BIOS Not Found, Cannot Load");
_bios = Bios;
Mine = comm.CoreFileProvider.GetFirmware("Vectrex", "Minestorm", true, "Minestorm Not Found, Cannot Load");
Mine = comm.CoreFileProvider.GetFirmware("VEC", "Minestorm", true, "Minestorm Not Found, Cannot Load");
minestorm = Mine;
Console.WriteLine("SHA1:" + rom.HashSHA1(0, rom.Length));

View File

@ -70,12 +70,12 @@ namespace BizHawk.Emulation.Cores.Consoles.O2Hawk
if (is_G7400)
{
_bios = comm.CoreFileProvider.GetFirmware("G7400", "BIOS", true, "BIOS Not Found, Cannot Load")
_bios = comm.CoreFileProvider.GetFirmware("O2", "BIOS-G7400", true, "BIOS Not Found, Cannot Load")
?? throw new MissingFirmwareException("Missing G7400 Bios");
}
else
{
_bios = comm.CoreFileProvider.GetFirmware("O2", "BIOS", true, "BIOS Not Found, Cannot Load")
_bios = comm.CoreFileProvider.GetFirmware("O2", "BIOS-O2", true, "BIOS Not Found, Cannot Load")
?? throw new MissingFirmwareException("Missing Odyssey2 Bios");
}

View File

@ -26,8 +26,7 @@ namespace BizHawk.Emulation.Cores.Sega.GGHawkLink
private bool do_r_next = false;
// TODO: Are there really xml games in the wild with this SystemId?
[CoreConstructor("Game Gear")]
[CoreConstructor("GGL")]
public GGHawkLink(CoreLoadParameters<GGLinkSettings, GGLinkSyncSettings> lp)
{
if (lp.Roms.Count != 2)