EphemeralNetworkSystemClockCore.cs 771 B

123456789101112131415161718192021222324252627
  1. namespace Ryujinx.HLE.HOS.Services.Time.Clock
  2. {
  3. class EphemeralNetworkSystemClockCore : SystemClockCore
  4. {
  5. private static EphemeralNetworkSystemClockCore _instance;
  6. public static EphemeralNetworkSystemClockCore Instance
  7. {
  8. get
  9. {
  10. if (_instance == null)
  11. {
  12. _instance = new EphemeralNetworkSystemClockCore(TickBasedSteadyClockCore.Instance);
  13. }
  14. return _instance;
  15. }
  16. }
  17. public EphemeralNetworkSystemClockCore(SteadyClockCore steadyClockCore) : base(steadyClockCore) { }
  18. public override ResultCode Flush(SystemClockContext context)
  19. {
  20. return ResultCode.Success;
  21. }
  22. }
  23. }