Implement GetClockSnapshot
This commit is contained in:
parent
07e3533971
commit
27017d2f6b
1 changed files with 11 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
using Ryujinx.Common.Logging;
|
||||||
using Ryujinx.HLE.HOS.Ipc;
|
using Ryujinx.HLE.HOS.Ipc;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
@ -21,7 +22,8 @@ namespace Ryujinx.HLE.HOS.Services.Time
|
||||||
{ 2, GetStandardSteadyClock },
|
{ 2, GetStandardSteadyClock },
|
||||||
{ 3, GetTimeZoneService },
|
{ 3, GetTimeZoneService },
|
||||||
{ 4, GetStandardLocalSystemClock },
|
{ 4, GetStandardLocalSystemClock },
|
||||||
{ 300, CalculateMonotonicSystemClockBaseTimePoint }
|
{ 300, CalculateMonotonicSystemClockBaseTimePoint },
|
||||||
|
{ 400, GetClockSnapshot }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -70,5 +72,13 @@ namespace Ryujinx.HLE.HOS.Services.Time
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private long GetClockSnapshot(ServiceCtx context)
|
||||||
|
{
|
||||||
|
Logger.PrintStub(LogClass.ServiceTime);
|
||||||
|
|
||||||
|
context.ResponseData.Write(0L);
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue