Ryujinx/src/Ryujinx.HLE/HOS
Mary 470a8031a4
time: Update for 15.0.0 changes and fixes long standing issues (#4822)
* time: Update for 15.0.0 changes

Last time we did an upgrade on the time service was during 9.x era, it was about time to take back that reverse again!

15.0.0 added a new structure on the shared memory to get steady clock raw timepoints with a granularity in nanoseconds.

This commit implements this new part.

I plan to write a follow up with a bit of refactoring of this ancient part of the emulator.

As always, reverse and work done by your truly.

PS: As a reminder, if this change is reused anywhere else, work should be credited as Ryujinx and not my person.

* time: Do not set setup value to posix time

This should fix local and network clock returning 0 under usage with
shared memory.

This probably fix #2430.

* Address gdkchan's comment

* Fix internal offset not working since changes and ensure that user clock have a valid clock id

* time: Report auto correcting clock and hardcode steady clock unique id

Fix Pokemon Sword Pokejobs for real.

* Address gdkchan's comment
2023-05-08 00:15:58 +02:00
..
Applets Move solution and projects to src 2023-04-27 23:51:14 +02:00
Diagnostics/Demangler Move solution and projects to src 2023-04-27 23:51:14 +02:00
Ipc Move solution and projects to src 2023-04-27 23:51:14 +02:00
Kernel Move solution and projects to src 2023-04-27 23:51:14 +02:00
Services time: Update for 15.0.0 changes and fixes long standing issues (#4822) 2023-05-08 00:15:58 +02:00
SystemState Move solution and projects to src 2023-04-27 23:51:14 +02:00
Tamper Move solution and projects to src 2023-04-27 23:51:14 +02:00
ArmProcessContext.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
ArmProcessContextFactory.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
HomebrewRomFsStream.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
Horizon.cs time: Update for 15.0.0 changes and fixes long standing issues (#4822) 2023-05-08 00:15:58 +02:00
IdDictionary.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
LibHacHorizonManager.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
ModLoader.cs ModLoader: Fix case sensitivy issues without breaking cheats (#4783) 2023-05-05 09:39:08 +02:00
ResultCode.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
ServiceCtx.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
TamperMachine.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
UserChannelPersistence.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00