From ec8ba06dbe19e0c742b2b371bb77c8a456be19a8 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Mon, 3 Jun 2024 09:32:23 +1000 Subject: [PATCH] Attempt to fix NRE when importing `.bk2` into TAStudio --- src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs b/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs index f67a67c1118..9e2c5846b86 100644 --- a/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs +++ b/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs @@ -116,7 +116,7 @@ public bool LoadMovieFile(string filename, bool askToSave = true) _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);