replace some references to GlobalWin.MainForm in MainForm itself, because that makes no sense.
This commit is contained in:
parent
7a7dec0ca9
commit
f3c29e5bc2
|
@ -1846,7 +1846,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
if (new N64ControllersSetup().ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
GlobalWin.MainForm.FlagNeedsReboot();
|
||||
FlagNeedsReboot();
|
||||
GlobalWin.OSD.AddMessage("Controller settings saved but a core reboot is required");
|
||||
}
|
||||
else
|
||||
|
|
|
@ -31,7 +31,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
return false;
|
||||
}
|
||||
|
||||
LoadRom(GlobalWin.MainForm.CurrentlyOpenRom);
|
||||
LoadRom(CurrentlyOpenRom);
|
||||
|
||||
if (Global.MovieSession.PreviousNES_InQuickNES.HasValue)
|
||||
{
|
||||
|
|
|
@ -2976,7 +2976,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
}
|
||||
else
|
||||
{
|
||||
var token = aw.AcquireVideoCodecToken(GlobalWin.MainForm);
|
||||
var token = aw.AcquireVideoCodecToken(this);
|
||||
if (token == null)
|
||||
{
|
||||
GlobalWin.OSD.AddMessage("A/V capture canceled.");
|
||||
|
|
Loading…
Reference in New Issue