diff --git a/src/BizHawk.Client.EmuHawk/movie/RecordMovie.cs b/src/BizHawk.Client.EmuHawk/movie/RecordMovie.cs index 474f89b5da..22b83295ef 100644 --- a/src/BizHawk.Client.EmuHawk/movie/RecordMovie.cs +++ b/src/BizHawk.Client.EmuHawk/movie/RecordMovie.cs @@ -184,13 +184,14 @@ namespace BizHawk.Client.EmuHawk else throw; } + var preferredExt = _movieSession.Movie?.PreferredExtension ?? "bk2"; using var sfd = new SaveFileDialog { InitialDirectory = movieFolderPath, - DefaultExt = $".{_movieSession.Movie.PreferredExtension}", + DefaultExt = $".{preferredExt}", FileName = RecordBox.Text, OverwritePrompt = false, - Filter = new FilesystemFilterSet(new FilesystemFilter("Movie Files", new[] { _movieSession.Movie.PreferredExtension })).ToString() + Filter = new FilesystemFilterSet(new FilesystemFilter("Movie Files", new[] { preferredExt })).ToString() }; var result = sfd.ShowHawkDialog();