capture Sega CD flag in movies
This commit is contained in:
parent
0fb0e6a11c
commit
44dc9518cf
|
@ -6,6 +6,7 @@ using BizHawk.Emulation.Common;
|
|||
using BizHawk.Emulation.Cores.Nintendo.Gameboy;
|
||||
using BizHawk.Emulation.Cores.Sega.MasterSystem;
|
||||
using BizHawk.Emulation.Common.IEmulatorExtensions;
|
||||
using BizHawk.Emulation.Cores.Consoles.Sega.gpgx;
|
||||
|
||||
namespace BizHawk.Client.Common.MovieConversionExtensions
|
||||
{
|
||||
|
@ -317,6 +318,11 @@ namespace BizHawk.Client.Common.MovieConversionExtensions
|
|||
movie.HeaderEntries.Add("IsSGMode", "1");
|
||||
}
|
||||
|
||||
if (Global.Emulator is GPGX && (Global.Emulator as GPGX).IsSegaCD)
|
||||
{
|
||||
movie.HeaderEntries.Add("IsSegaCDMode", "1");
|
||||
}
|
||||
|
||||
movie.Core = ((CoreAttributes)Attribute
|
||||
.GetCustomAttribute(Global.Emulator.GetType(), typeof(CoreAttributes)))
|
||||
.CoreName;
|
||||
|
|
Loading…
Reference in New Issue