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:
feos 2016-02-05 21:41:40 +03:00
parent c9ddf41e9d
commit 40b8a82034
2 changed files with 7 additions and 4 deletions

View File

@ -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)
{

View File

@ -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;
}