TasMovie.cs - bake the current emulator frame count into the input log when creating it savestates. As opposed to what the currently emulator code unforutnatley does which is parse it out of the core's section of the file which makes it poorly suited for flexibility in file format, and playing nice with not speghettified architecture.

This commit is contained in:
adelikat 2013-12-04 00:31:50 +00:00
parent 14838c127a
commit 14d0a29ae4
1 changed files with 5 additions and 0 deletions

View File

@ -43,6 +43,11 @@ namespace BizHawk.Client.Common
var sb = new StringBuilder();
sb
.AppendLine("[Input]")
.Append("Frame ")
.Append(Global.Emulator.Frame)
.AppendLine()
.Append(HeaderKeys.GUID)
.Append(' ')
.Append(Guid)