tastudio:
- don't clear selection on Cut - don't mindlessly unpause the emulator if autorestore is off and we're editing input via menu
This commit is contained in:
parent
c9ddf41e9d
commit
40b8a82034
|
@ -375,7 +375,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
Clipboard.SetDataObject(sb.ToString());
|
||||
CurrentTasMovie.RemoveFrames(list);
|
||||
SetSplicer();
|
||||
TasView.DeselectAll();
|
||||
//TasView.DeselectAll(); feos: what if I want to continuously cut?
|
||||
|
||||
if (needsToRollback)
|
||||
{
|
||||
|
|
|
@ -702,10 +702,13 @@ namespace BizHawk.Client.EmuHawk
|
|||
}
|
||||
else
|
||||
{
|
||||
if (_autoRestorePaused.HasValue && !_autoRestorePaused.Value)
|
||||
GlobalWin.MainForm.UnpauseEmulator();
|
||||
// feos: if we disable autorestore, we shouldn't ever get it paused
|
||||
// moreover, this function is only called if we *were* paused, so the check makes no sense
|
||||
//if (_autoRestorePaused.HasValue && !_autoRestorePaused.Value)
|
||||
// GlobalWin.MainForm.UnpauseEmulator();
|
||||
_autoRestorePaused = null;
|
||||
GlobalWin.MainForm.PauseOnFrame = null; // Cancel seek to autorestore point
|
||||
// feos: seek gets triggered by the previous function, so we don't wanna kill the seek frame before it ends
|
||||
//GlobalWin.MainForm.PauseOnFrame = null; // Cancel seek to autorestore point
|
||||
}
|
||||
_autoRestoreFrame = null;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue