TAstudio - take charge of stopping a movie, fixes stack overflow on close?
This commit is contained in:
parent
a57750f6ce
commit
c0a124ecbb
|
@ -63,6 +63,12 @@ namespace BizHawk.Client.EmuHawk
|
||||||
get { return _tas; }
|
get { return _tas; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void TastudioToStopMovie()
|
||||||
|
{
|
||||||
|
Global.MovieSession.StopMovie(false);
|
||||||
|
GlobalWin.MainForm.SetMainformMovieInfo();
|
||||||
|
}
|
||||||
|
|
||||||
public TAStudio()
|
public TAStudio()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
@ -76,7 +82,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
if (AskSave())
|
if (AskSave())
|
||||||
{
|
{
|
||||||
SaveConfigSettings();
|
SaveConfigSettings();
|
||||||
GlobalWin.MainForm.StopMovie(saveChanges: false);
|
TastudioToStopMovie();
|
||||||
DisengageTastudio();
|
DisengageTastudio();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue