make uzebox and pcfx games not throw an exception on load, fixes #2022

This commit is contained in:
adelikat 2020-05-19 20:46:07 -05:00
parent 0a12f9e742
commit 123dbcc46d
2 changed files with 8 additions and 0 deletions

View File

@ -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>

View File

@ -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;
}
}
}