parent
5804ff04e7
commit
b45668ecea
|
@ -1,6 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
|
using System.Globalization;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
using BizHawk.Common;
|
using BizHawk.Common;
|
||||||
using BizHawk.Emulation.Common;
|
using BizHawk.Emulation.Common;
|
||||||
using BizHawk.Emulation.Cores;
|
using BizHawk.Emulation.Cores;
|
||||||
|
@ -63,9 +63,8 @@ namespace BizHawk.Client.Common
|
||||||
}
|
}
|
||||||
else if (line.StartsWith("rtcStartNew"))
|
else if (line.StartsWith("rtcStartNew"))
|
||||||
{
|
{
|
||||||
//TODO: what is this format?? 2010-JAN-01 00:00:00:000
|
string rtcTime = ParseHeader(line, "rtcStartNew");
|
||||||
//var time = DateTime.Parse(ParseHeader(line, "rtcStartNew"));
|
syncSettings.InitialTime = DateTime.ParseExact(rtcTime, "yyyy'-'MMM'-'dd' 'HH':'mm':'ss':'fff", DateTimeFormatInfo.InvariantInfo);
|
||||||
//syncSettings.TimeAtBoot = (uint)new DateTimeOffset(time.ToLocalTime()).ToUnixTimeSeconds();
|
|
||||||
}
|
}
|
||||||
else if (line.StartsWith("comment author"))
|
else if (line.StartsWith("comment author"))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue