Fix an inconsistency between the Reboot core menu item and the reboot core hotkey

This commit is contained in:
adelikat 2014-04-06 21:34:20 +00:00
parent 11f055a1e7
commit bba2e254d3
2 changed files with 4 additions and 4 deletions

View File

@ -89,10 +89,7 @@ namespace BizHawk.Client.EmuHawk
DecreaseSpeed();
break;
case "Reboot Core":
bool autoSaveState = Global.Config.AutoSavestates;
Global.Config.AutoSavestates = false;
LoadRom(CurrentlyOpenRom);
Global.Config.AutoSavestates = autoSaveState;
RebootCore();
break;
// Save States

View File

@ -630,7 +630,10 @@ namespace BizHawk.Client.EmuHawk
public void RebootCore()
{
bool autoSaveState = Global.Config.AutoSavestates;
Global.Config.AutoSavestates = false;
LoadRom(CurrentlyOpenRom);
Global.Config.AutoSavestates = autoSaveState;
}
public void PauseEmulator()