hack rom loader to keep doing the bullshit we've been doing for 8 years now, where Game.System == "GBC" results in an Emulator with a SystemID. Don't revert without volunteering to fix tasvideos
This commit is contained in:
parent
c844af3bbb
commit
31bf9b9147
|
@ -333,7 +333,23 @@ namespace BizHawk.Client.Common
|
|||
|
||||
private IEmulator MakeCoreFromCoreInventory(CoreInventoryParameters cip)
|
||||
{
|
||||
_config.PreferredCores.TryGetValue(cip.Game.System, out var preferredCore);
|
||||
var preferredSystem = cip.Game.System;
|
||||
if (preferredSystem == "GBC")
|
||||
{
|
||||
preferredSystem = "GB";
|
||||
}
|
||||
|
||||
if (preferredSystem.In("GG", "SG"))
|
||||
{
|
||||
preferredSystem = "SMS";
|
||||
}
|
||||
|
||||
if (preferredSystem == "SGX")
|
||||
{
|
||||
preferredSystem = "PCE";
|
||||
}
|
||||
|
||||
_config.PreferredCores.TryGetValue(preferredSystem, out var preferredCore);
|
||||
var forcedCore = cip.Game.ForcedCore;
|
||||
var cores = CoreInventory.Instance.GetCores(cip.Game.System)
|
||||
.OrderBy(c =>
|
||||
|
|
Loading…
Reference in New Issue