fix bug not sorting GameName and sha1 in movies, fixes #1966

This commit is contained in:
adelikat 2020-05-01 14:32:10 -05:00
parent 83e685cfa1
commit e1f6c7afb1
1 changed files with 4 additions and 4 deletions

View File

@ -296,6 +296,10 @@ namespace BizHawk.Client.Common.MovieConversionExtensions
}
if (game.IsNullInstance())
{
movie.GameName = "NULL";
}
else
{
movie.GameName = game.FilesystemSafeName();
movie.Hash = game.Hash;
@ -304,10 +308,6 @@ namespace BizHawk.Client.Common.MovieConversionExtensions
movie.FirmwareHash = game.FirmwareHash;
}
}
else
{
movie.GameName = "NULL";
}
if (emulator.HasBoardInfo())
{