Movies - add PAL flag to movie (if recording in pal mode!)
This commit is contained in:
parent
9be282789b
commit
0ca3fc3167
|
@ -10,6 +10,8 @@ using System.IO;
|
|||
|
||||
using BizHawk.Emulation.Consoles.GB;
|
||||
using BizHawk.Emulation.Consoles.Nintendo.SNES;
|
||||
using BizHawk.Emulation.Consoles.Sega;
|
||||
using BizHawk.Emulation.Consoles.Nintendo;
|
||||
|
||||
namespace BizHawk.MultiClient
|
||||
{
|
||||
|
@ -89,7 +91,26 @@ namespace BizHawk.MultiClient
|
|||
if (Global.Emulator is LibsnesCore)
|
||||
{
|
||||
MovieToRecord.Header.SetHeaderLine(MovieHeader.SGB, ((Global.Emulator) as LibsnesCore).IsSGB.ToString());
|
||||
if ((Global.Emulator as LibsnesCore).DisplayType == DisplayType.PAL)
|
||||
{
|
||||
MovieToRecord.Header.SetHeaderLine(MovieHeader.PAL, "1");
|
||||
}
|
||||
}
|
||||
else if (Global.Emulator is SMS)
|
||||
{
|
||||
if ((Global.Emulator as SMS).DisplayType == DisplayType.PAL)
|
||||
{
|
||||
MovieToRecord.Header.SetHeaderLine(MovieHeader.PAL, "1");
|
||||
}
|
||||
}
|
||||
else if (Global.Emulator is NES)
|
||||
{
|
||||
if ((Global.Emulator as NES).DisplayType == DisplayType.PAL)
|
||||
{
|
||||
MovieToRecord.Header.SetHeaderLine(MovieHeader.PAL, "1");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (StartFromCombo.SelectedItem.ToString() == "Now")
|
||||
{
|
||||
|
|
|
@ -29,6 +29,7 @@ namespace BizHawk.MultiClient
|
|||
public const string FOURSCORE = "FourScore";
|
||||
public const string SHA1 = "SHA1";
|
||||
public const string FIRMWARESHA1 = "FirmwareSHA1";
|
||||
public const string PAL = "PAL";
|
||||
|
||||
//Gameboy Settings that affect sync
|
||||
public const string GB_FORCEDMG = "Force_DMG_Mode";
|
||||
|
|
Loading…
Reference in New Issue