Tastudio - handle if user chooses stop movie in emuhawk

This commit is contained in:
adelikat 2014-10-18 20:40:20 +00:00
parent 97721ddcc3
commit 2599893b02
2 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,7 @@
public void StopMovie() public void StopMovie()
{ {
this.Focus(); this.Focus();
//NewTasMenuItem_Click(null, null); NewTasMenuItem_Click(null, null);
} }
public bool WantsToControlRewind { get { return true; } } public bool WantsToControlRewind { get { return true; } }

View File

@ -507,6 +507,7 @@ namespace BizHawk.Client.EmuHawk
{ {
if (AskSaveChanges()) if (AskSaveChanges())
{ {
WantsToControlStopMovie = false;
SaveConfigSettings(); SaveConfigSettings();
GlobalWin.MainForm.StopMovie(saveChanges: false); GlobalWin.MainForm.StopMovie(saveChanges: false);
DisengageTastudio(); DisengageTastudio();