Simplify some Bkm code
This commit is contained in:
parent
100fc2bad5
commit
4b6e6d996a
|
@ -7,18 +7,15 @@ namespace BizHawk.Client.Common
|
||||||
{
|
{
|
||||||
public BkmHeader()
|
public BkmHeader()
|
||||||
{
|
{
|
||||||
Comments = new List<string>();
|
|
||||||
Subtitles = new SubtitleList();
|
|
||||||
|
|
||||||
this[HeaderKeys.EmulationVersion] = VersionInfo.GetEmuVersion();
|
this[HeaderKeys.EmulationVersion] = VersionInfo.GetEmuVersion();
|
||||||
this[HeaderKeys.Platform] = Global.Emulator != null ? Global.Emulator.SystemId : "";
|
|
||||||
this[HeaderKeys.GameName] = "";
|
this[HeaderKeys.GameName] = "";
|
||||||
this[HeaderKeys.Author] = "";
|
this[HeaderKeys.Author] = "";
|
||||||
this[HeaderKeys.Rerecords] = "0";
|
this[HeaderKeys.Rerecords] = "0";
|
||||||
|
this[HeaderKeys.MovieVersion] = "BizHawk v0.0.1";
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<string> Comments { get; }
|
public List<string> Comments { get; } = new List<string>();
|
||||||
public SubtitleList Subtitles { get; }
|
public SubtitleList Subtitles { get; } = new SubtitleList();
|
||||||
|
|
||||||
public string SavestateBinaryBase64Blob
|
public string SavestateBinaryBase64Blob
|
||||||
{
|
{
|
||||||
|
|
|
@ -9,14 +9,9 @@ namespace BizHawk.Client.Common
|
||||||
private readonly List<string> _log = new List<string>();
|
private readonly List<string> _log = new List<string>();
|
||||||
private int? _loopOffset;
|
private int? _loopOffset;
|
||||||
|
|
||||||
public BkmMovie()
|
|
||||||
{
|
|
||||||
Header = new BkmHeader { [HeaderKeys.MovieVersion] = "BizHawk v0.0.1" };
|
|
||||||
}
|
|
||||||
|
|
||||||
public string PreferredExtension => "bkm";
|
public string PreferredExtension => "bkm";
|
||||||
|
|
||||||
public BkmHeader Header { get; }
|
public BkmHeader Header { get; } = new BkmHeader();
|
||||||
public string Filename { get; set; } = "";
|
public string Filename { get; set; } = "";
|
||||||
public bool Loaded { get; private set; }
|
public bool Loaded { get; private set; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue