mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-22 23:05:55 +01:00
20 lines
502 B
C#
20 lines
502 B
C#
|
namespace Ryujinx.HLE.HOS.Services.Time.Clock
|
|||
|
{
|
|||
|
class LocalSystemClockContextWriter : SystemClockContextUpdateCallback
|
|||
|
{
|
|||
|
private TimeSharedMemory _sharedMemory;
|
|||
|
|
|||
|
public LocalSystemClockContextWriter(TimeSharedMemory sharedMemory)
|
|||
|
{
|
|||
|
_sharedMemory = sharedMemory;
|
|||
|
}
|
|||
|
|
|||
|
protected override ResultCode Update()
|
|||
|
{
|
|||
|
_sharedMemory.UpdateLocalSystemClockContext(_context);
|
|||
|
|
|||
|
return ResultCode.Success;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|