Attempt to fix NRE when importing `.bk2` into TAStudio

This commit is contained in:
YoshiRulz 2024-06-03 09:32:23 +10:00
parent 6cb07dd53e
commit ec8ba06dbe
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ namespace BizHawk.Client.EmuHawk
_initializing = true; // Starting a new movie causes a core reboot
WantsToControlReboot = false;
_engaged = false;
MainForm.StartNewMovie(MovieSession.Get(filename), false);
if (!MainForm.StartNewMovie(MovieSession.Get(filename), record: false)) return false;
ConvertCurrentMovieToTasproj();
_initializing = false;
var success = StartNewMovieWrapper(CurrentTasMovie);