cleanup some unneeded code
This commit is contained in:
parent
190118d7c4
commit
870d7df6f2
|
@ -3000,10 +3000,8 @@ namespace BizHawk.Client.EmuHawk
|
||||||
string details = Emulator.CoreComm.RomStatusDetails;
|
string details = Emulator.CoreComm.RomStatusDetails;
|
||||||
if (!string.IsNullOrEmpty(details))
|
if (!string.IsNullOrEmpty(details))
|
||||||
{
|
{
|
||||||
Sound.StopSound();
|
|
||||||
Tools.Load<LogWindow>();
|
Tools.Load<LogWindow>();
|
||||||
((LogWindow) Tools.Get<LogWindow>()).ShowReport("Dump Status Report", details);
|
((LogWindow) Tools.Get<LogWindow>()).ShowReport("Dump Status Report", details);
|
||||||
Sound.StartSound();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -36,8 +36,6 @@ namespace BizHawk.Emulation.Cores.Nintendo.Gameboy
|
||||||
InitMemoryCallbacks();
|
InitMemoryCallbacks();
|
||||||
CoreComm = comm;
|
CoreComm = comm;
|
||||||
|
|
||||||
comm.RomStatusAnnotation = null;
|
|
||||||
comm.RomStatusDetails = null;
|
|
||||||
comm.NominalWidth = 160;
|
comm.NominalWidth = 160;
|
||||||
comm.NominalHeight = 144;
|
comm.NominalHeight = 144;
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,6 @@ namespace BizHawk.Emulation.Cores.Nintendo.Gameboy
|
||||||
L.ConnectMemoryCallbackSystem(_memorycallbacks);
|
L.ConnectMemoryCallbackSystem(_memorycallbacks);
|
||||||
R.ConnectMemoryCallbackSystem(_memorycallbacks);
|
R.ConnectMemoryCallbackSystem(_memorycallbacks);
|
||||||
|
|
||||||
comm.RomStatusAnnotation = null;
|
|
||||||
comm.RomStatusDetails = "LEFT:\r\n" + L.CoreComm.RomStatusDetails + "RIGHT:\r\n" + R.CoreComm.RomStatusDetails;
|
comm.RomStatusDetails = "LEFT:\r\n" + L.CoreComm.RomStatusDetails + "RIGHT:\r\n" + R.CoreComm.RomStatusDetails;
|
||||||
comm.NominalWidth = L.CoreComm.NominalWidth + R.CoreComm.NominalWidth;
|
comm.NominalWidth = L.CoreComm.NominalWidth + R.CoreComm.NominalWidth;
|
||||||
comm.NominalHeight = L.CoreComm.NominalHeight;
|
comm.NominalHeight = L.CoreComm.NominalHeight;
|
||||||
|
|
Loading…
Reference in New Issue