remove unnecessary usage of GlobalWin.Emulator (instance was already being passed in)
This commit is contained in:
parent
8bb055b392
commit
20a1a49851
|
@ -37,9 +37,8 @@ namespace BizHawk.Client.EmuHawk
|
|||
using var dlg = new DGBPrefs();
|
||||
dlg.PutSettings(s, ss);
|
||||
|
||||
var emu = (GambatteLink)GlobalWin.Emulator;
|
||||
dlg.gbPrefControl1.ColorGameBoy = emu.IsCGBMode(false);
|
||||
dlg.gbPrefControl2.ColorGameBoy = emu.IsCGBMode(true);
|
||||
dlg.gbPrefControl1.ColorGameBoy = gambatte.IsCGBMode(false);
|
||||
dlg.gbPrefControl2.ColorGameBoy = gambatte.IsCGBMode(true);
|
||||
|
||||
if (mainForm.ShowDialogAsChild(dlg) == DialogResult.OK)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue