From e9e9f574dac0f238279d8199cdefb2ed30228d1e Mon Sep 17 00:00:00 2001 From: adelikat Date: Thu, 25 Sep 2014 01:26:39 +0000 Subject: [PATCH] Tastudio - don't navigate to the current frame when editing values --- BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs | 2 +- BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs index ba82499cb4..6cd7608d84 100644 --- a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs +++ b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs @@ -242,7 +242,7 @@ namespace BizHawk.Client.EmuHawk { ToggleBoolState(TasView.CurrentCell.RowIndex.Value, buttonName); GoToLastEmulatedFrameIfNecessary(TasView.CurrentCell.RowIndex.Value); - UpdateValues(); + RefreshDialog(); _startBoolDrawColumn = buttonName; diff --git a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs index 9df60871f4..5d078ce5ed 100644 --- a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs +++ b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs @@ -208,9 +208,8 @@ namespace BizHawk.Client.EmuHawk { if (restoreFrame > Global.Emulator.Frame) // Don't unpause if we are already on the desired frame, else runaway seek { - - GlobalWin.MainForm.UnpauseEmulator(); - GlobalWin.MainForm.PauseOnFrame = restoreFrame; + GlobalWin.MainForm.UnpauseEmulator(); + GlobalWin.MainForm.PauseOnFrame = restoreFrame; } } }