Ryujinx/src/Ryujinx.HLE
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
..
Exceptions Move solution and projects to src 2023-04-27 23:51:14 +02:00
FileSystem Move solution and projects to src 2023-04-27 23:51:14 +02:00
HOS time: Update for 15.0.0 changes and fixes long standing issues (#4822) 2023-05-08 00:15:58 +02:00
Loaders misc: Switch ProcessResult to a class (#4846) 2023-05-07 20:50:45 +00:00
Ui Move solution and projects to src 2023-04-27 23:51:14 +02:00
Utilities Move solution and projects to src 2023-04-27 23:51:14 +02:00
AssemblyInfo.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
HLEConfiguration.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
Homebrew.npdm Move solution and projects to src 2023-04-27 23:51:14 +02:00
MemoryConfiguration.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
PerformanceStatistics.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
Ryujinx.HLE.csproj Move solution and projects to src 2023-04-27 23:51:14 +02:00
Switch.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00