Fix movie header SystemID (#1277)

From ticket #1246

Small change to MovieConversionExtensions.PopulateWithDefaultHeaderValues()

Just changes SystemID to "GG" or "SG" if Global.Emulator .IsGameGear or IsSG1000 is true.

Without this, the play movie dialog shows 'Platform' as SMS for game gear and SG1000 movies (and highlights this in RED as it is incorrect).
This commit is contained in:
Asnivor 2018-08-22 18:51:20 +01:00 committed by feos
parent a365284383
commit f436e25426
2 changed files with 5 additions and 1 deletions

View File

@ -87,6 +87,8 @@ namespace BizHawk.Client.Common
return SystemInfo.Intellivision;
case "SG":
return SystemInfo.SG;
case "GG":
return SystemInfo.GG;
case "SMS":
if ((Emulator as SMS).IsGameGear)
{

View File

@ -319,11 +319,13 @@ namespace BizHawk.Client.Common.MovieConversionExtensions
if (Global.Emulator is SMS && (Global.Emulator as SMS).IsSG1000)
{
movie.HeaderEntries.Add("IsSGMode", "1");
}
movie.SystemID = "SG";
}
if (Global.Emulator is SMS && (Global.Emulator as SMS).IsGameGear)
{
movie.HeaderEntries.Add("IsGGMode", "1");
movie.SystemID = "GG";
}
if (Global.Emulator is GPGX && (Global.Emulator as GPGX).IsMegaCD)