Fix one missing nit and improve one comment

This commit is contained in:
Thog 2019-07-15 19:26:14 +02:00
commit e2e83fc5db
No known key found for this signature in database
GPG key ID: 0CD291558FAFDBC6
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ namespace Ryujinx.HLE.HOS.Services.Bpc
public static ResultCode GetExternalRtcValue(out ulong rtcValue) public static ResultCode GetExternalRtcValue(out ulong rtcValue)
{ {
// TODO: emulate MAX77620/MAX77812 // TODO: emulate MAX77620/MAX77812 RTC
DateTime unixEpoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc); DateTime unixEpoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
rtcValue = (ulong)(DateTime.Now.ToUniversalTime() - unixEpoch).TotalSeconds; rtcValue = (ulong)(DateTime.Now.ToUniversalTime() - unixEpoch).TotalSeconds;

View file

@ -28,7 +28,7 @@ namespace Ryujinx.HLE.HOS.Services.Time.Clock
[StructLayout(LayoutKind.Sequential)] [StructLayout(LayoutKind.Sequential)]
struct SteadyClockTimePoint struct SteadyClockTimePoint
{ {
public long TimePoint; public long TimePoint;
public UInt128 ClockSourceId; public UInt128 ClockSourceId;
public ResultCode GetSpanBetween(SteadyClockTimePoint other, out long outSpan) public ResultCode GetSpanBetween(SteadyClockTimePoint other, out long outSpan)