a tweak to last commit

This commit is contained in:
adelikat 2014-09-16 23:26:17 +00:00
parent 64706e2a9e
commit 72842619ed
1 changed files with 4 additions and 3 deletions

View File

@ -77,6 +77,7 @@ namespace BizHawk.Client.EmuHawk
GlobalWin.MainForm.PauseOnFrame = null; GlobalWin.MainForm.PauseOnFrame = null;
GlobalWin.OSD.AddMessage("TAStudio engaged"); GlobalWin.OSD.AddMessage("TAStudio engaged");
_currentTasMovie = Global.MovieSession.Movie as TasMovie; _currentTasMovie = Global.MovieSession.Movie as TasMovie;
SetTextProperty();
GlobalWin.MainForm.PauseEmulator(); GlobalWin.MainForm.PauseEmulator();
GlobalWin.MainForm.RelinquishControl(this); GlobalWin.MainForm.RelinquishControl(this);
_originalRewindStatus = Global.Rewinder.RewindActive; _originalRewindStatus = Global.Rewinder.RewindActive;
@ -123,12 +124,12 @@ namespace BizHawk.Client.EmuHawk
WantsToControlStopMovie = false; WantsToControlStopMovie = false;
GlobalWin.MainForm.StartNewMovie(_currentTasMovie, record: true); GlobalWin.MainForm.StartNewMovie(_currentTasMovie, record: true);
WantsToControlStopMovie = true; WantsToControlStopMovie = true;
SetTExtProperty(); SetTextProperty();
RefreshDialog(); RefreshDialog();
} }
} }
private void SetTExtProperty() private void SetTextProperty()
{ {
var text = "TAStudio"; var text = "TAStudio";
if (_currentTasMovie != null) if (_currentTasMovie != null)
@ -1013,7 +1014,7 @@ namespace BizHawk.Client.EmuHawk
//This method is called everytime the Changes property is toggled on a TasMovie instance. //This method is called everytime the Changes property is toggled on a TasMovie instance.
private void TasMovie_OnPropertyChanged(object sender, PropertyChangedEventArgs e) private void TasMovie_OnPropertyChanged(object sender, PropertyChangedEventArgs e)
{ {
SetTExtProperty(); SetTextProperty();
} }
#endregion #endregion