Add an IsSGMode flag for SG-1000 when recording a new movie
This commit is contained in:
parent
cc1867326a
commit
c510e13d82
|
@ -4,6 +4,7 @@ using System.Linq;
|
||||||
|
|
||||||
using BizHawk.Emulation.Common;
|
using BizHawk.Emulation.Common;
|
||||||
using BizHawk.Emulation.Cores.Nintendo.Gameboy;
|
using BizHawk.Emulation.Cores.Nintendo.Gameboy;
|
||||||
|
using BizHawk.Emulation.Cores.Sega.MasterSystem;
|
||||||
using BizHawk.Emulation.Common.IEmulatorExtensions;
|
using BizHawk.Emulation.Common.IEmulatorExtensions;
|
||||||
|
|
||||||
namespace BizHawk.Client.Common.MovieConversionExtensions
|
namespace BizHawk.Client.Common.MovieConversionExtensions
|
||||||
|
@ -311,6 +312,11 @@ namespace BizHawk.Client.Common.MovieConversionExtensions
|
||||||
movie.HeaderEntries.Add("IsCGBMode", "1");
|
movie.HeaderEntries.Add("IsCGBMode", "1");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Global.Emulator is SMS && (Global.Emulator as SMS).IsSG1000)
|
||||||
|
{
|
||||||
|
movie.HeaderEntries.Add("IsSGMode", "1");
|
||||||
|
}
|
||||||
|
|
||||||
movie.Core = ((CoreAttributes)Attribute
|
movie.Core = ((CoreAttributes)Attribute
|
||||||
.GetCustomAttribute(Global.Emulator.GetType(), typeof(CoreAttributes)))
|
.GetCustomAttribute(Global.Emulator.GetType(), typeof(CoreAttributes)))
|
||||||
.CoreName;
|
.CoreName;
|
||||||
|
|
Loading…
Reference in New Issue