Remove some unnecessary previxes in Global.cs
This commit is contained in:
parent
5b923fa8d2
commit
ba74cc5dda
|
@ -79,7 +79,7 @@ namespace BizHawk.Client.Common
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
switch(Global.Emulator.SystemId)
|
switch(Emulator.SystemId)
|
||||||
{
|
{
|
||||||
default:
|
default:
|
||||||
case "NULL":
|
case "NULL":
|
||||||
|
@ -91,11 +91,11 @@ namespace BizHawk.Client.Common
|
||||||
case "SG":
|
case "SG":
|
||||||
return SystemInfo.SG;
|
return SystemInfo.SG;
|
||||||
case "SMS":
|
case "SMS":
|
||||||
if ((Global.Emulator as SMS).IsGameGear)
|
if ((Emulator as SMS).IsGameGear)
|
||||||
{
|
{
|
||||||
return SystemInfo.GG;
|
return SystemInfo.GG;
|
||||||
}
|
}
|
||||||
else if ((Global.Emulator as SMS).IsSG1000)
|
else if ((Emulator as SMS).IsSG1000)
|
||||||
{
|
{
|
||||||
return SystemInfo.SG;
|
return SystemInfo.SG;
|
||||||
}
|
}
|
||||||
|
@ -114,7 +114,7 @@ namespace BizHawk.Client.Common
|
||||||
case "SNES":
|
case "SNES":
|
||||||
return SystemInfo.SNES;
|
return SystemInfo.SNES;
|
||||||
case "GB":
|
case "GB":
|
||||||
if ((Global.Emulator as Gameboy).IsCGBMode())
|
if ((Emulator as Gameboy).IsCGBMode())
|
||||||
{
|
{
|
||||||
return SystemInfo.GBC;
|
return SystemInfo.GBC;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue