RomLoader - remove some redundant cases, if all you need need to do is run CoreInventory.Instance() then the default case handles that
This commit is contained in:
parent
14c117e92e
commit
8269b7dec4
|
@ -1060,9 +1060,6 @@ namespace BizHawk.Client.Common
|
|||
var cpc = new AmstradCPC(nextComm, Enumerable.Repeat(rom.RomData, 1), Enumerable.Repeat(rom.GameInfo, 1).ToList(), GetCoreSettings<AmstradCPC>(), GetCoreSyncSettings<AmstradCPC>());
|
||||
nextEmulator = cpc;
|
||||
break;
|
||||
case "GBA":
|
||||
core = CoreInventory.Instance["GBA", CoreNames.Mgba];
|
||||
break;
|
||||
case "PSX":
|
||||
nextEmulator = new Octoshock(nextComm, null, null, rom.FileData, GetCoreSettings<Octoshock>(), GetCoreSyncSettings<Octoshock>(), "PSX etc.");
|
||||
break;
|
||||
|
@ -1084,12 +1081,6 @@ namespace BizHawk.Client.Common
|
|||
case "32X":
|
||||
core = CoreInventory.Instance["GEN", "PicoDrive"];
|
||||
break;
|
||||
case "VEC":
|
||||
core = CoreInventory.Instance["VEC", "VectrexHawk"];
|
||||
break;
|
||||
case "O2":
|
||||
core = CoreInventory.Instance["O2", "O2Hawk"];
|
||||
break;
|
||||
}
|
||||
|
||||
if (core != null)
|
||||
|
|
Loading…
Reference in New Issue