fix possible NRE nag

This commit is contained in:
adelikat 2020-05-31 14:30:19 -05:00
parent 5e91e548fe
commit e7f26232b9
1 changed files with 2 additions and 0 deletions

View File

@ -246,6 +246,8 @@ namespace BizHawk.Client.Common
name = game.FilesystemSafeName();
}
name ??= "";
if (movieIsActive)
{
name = Path.Combine(name, $"movie-{Path.GetFileNameWithoutExtension(movieFilename)}");