SystemInfo - fix detection of GBC

This commit is contained in:
adelikat 2014-05-31 23:30:33 +00:00
parent 8231025b91
commit 5c1ba62549
1 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,5 @@
using BizHawk.Emulation.Common;
using BizHawk.Emulation.Cores.Nintendo.Gameboy;
using BizHawk.Emulation.Cores.Sega.MasterSystem;
using BizHawk.Emulation.DiscSystem;
@ -129,9 +130,12 @@ namespace BizHawk.Client.Common
case "SNES":
return SystemInfo.SNES;
case "GB":
if ((Global.Emulator as Gameboy).IsCGBMode())
{
return SystemInfo.GBC;
}
return SystemInfo.GB;
case "GBC":
return SystemInfo.GBC;
case "A26":
return SystemInfo.Atari2600;
case "A78":