make uzebox and pcfx games not throw an exception on load, fixes #2022
This commit is contained in:
parent
0a12f9e742
commit
123dbcc46d
|
@ -231,6 +231,10 @@ namespace BizHawk.Client.Common
|
|||
|
||||
public static SystemInfo Sgb { get; } = new SystemInfo("SGB", CoreSystem.SuperGameBoy, 4);
|
||||
|
||||
public static SystemInfo Pcfx { get; } = new SystemInfo("PCFX", CoreSystem.PcFx, 1);
|
||||
|
||||
public static SystemInfo UzeBox { get; } = new SystemInfo("uzem", CoreSystem.UzeBox, 1);
|
||||
|
||||
/// <summary>
|
||||
/// Get a <see cref="SystemInfo"/> by its <see cref="CoreSystem"/>
|
||||
/// </summary>
|
||||
|
|
|
@ -142,6 +142,10 @@ namespace BizHawk.Client.EmuHawk.CoreExtensions
|
|||
return SystemInfo.O2;
|
||||
case "MAME":
|
||||
return SystemInfo.Mame;
|
||||
case "uzem":
|
||||
return SystemInfo.UzeBox;
|
||||
case "PCFX":
|
||||
return SystemInfo.Pcfx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue