Fix an inconsistency between the Reboot core menu item and the reboot core hotkey
This commit is contained in:
parent
11f055a1e7
commit
bba2e254d3
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue