mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-15 19:41:16 +01:00
20 lines
508 B
C#
20 lines
508 B
C#
|
namespace Ryujinx.HLE.HOS.Services.Time.Clock
|
|||
|
{
|
|||
|
class NetworkSystemClockContextWriter : SystemClockContextUpdateCallback
|
|||
|
{
|
|||
|
private TimeSharedMemory _sharedMemory;
|
|||
|
|
|||
|
public NetworkSystemClockContextWriter(TimeSharedMemory sharedMemory)
|
|||
|
{
|
|||
|
_sharedMemory = sharedMemory;
|
|||
|
}
|
|||
|
|
|||
|
protected override ResultCode Update()
|
|||
|
{
|
|||
|
_sharedMemory.UpdateNetworkSystemClockContext(_context);
|
|||
|
|
|||
|
return ResultCode.Success;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|