tastudio: stop crashing upon movie platform mismatch
make the error window topmost
This commit is contained in:
parent
61e8b51802
commit
60d69db588
|
@ -37,7 +37,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
}
|
}
|
||||||
catch (MoviePlatformMismatchException ex)
|
catch (MoviePlatformMismatchException ex)
|
||||||
{
|
{
|
||||||
MessageBox.Show(this, ex.Message, "Movie/Platform Mismatch", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
MessageBox.Show(new Form(){TopMost = true}, ex.Message, "Movie/Platform Mismatch", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -648,7 +648,8 @@ namespace BizHawk.Client.EmuHawk
|
||||||
movie = CurrentTasMovie;
|
movie = CurrentTasMovie;
|
||||||
SetTasMovieCallbacks(movie as TasMovie);
|
SetTasMovieCallbacks(movie as TasMovie);
|
||||||
bool result = Mainform.StartNewMovie(movie, record);
|
bool result = Mainform.StartNewMovie(movie, record);
|
||||||
CurrentTasMovie.TasStateManager.Capture(); // Capture frame 0 always.
|
if (result)
|
||||||
|
CurrentTasMovie.TasStateManager.Capture(); // Capture frame 0 always.
|
||||||
TastudioPlayMode();
|
TastudioPlayMode();
|
||||||
_initializing = false;
|
_initializing = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue