1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-11 09:26:40 +00:00
Ryujinx/Ryujinx.HLE
gdkchan 0c87bf9ea4
Refactor CPU interface to allow the implementation of other CPU emulators (#3362)
* Refactor CPU interface

* Use IExecutionContext interface on SVC handler, change how CPU interrupts invokes the handlers

* Make CpuEngine take a ITickSource rather than returning one

The previous implementation had the scenario where the CPU engine had to implement the tick source in mind, like for example, when we have a hypervisor and the game can read CNTPCT on the host directly. However given that we need to do conversion due to different frequencies anyway, it's not worth it. It's better to just let the user pass the tick source and redirect any reads to CNTPCT to the user tick source

* XML docs for the public interfaces

* PPTC invalidation due to NativeInterface function name changes

* Fix build of the CPU tests

* PR feedback
2022-05-31 16:29:35 -03:00
..
Exceptions hos: Cleanup the project (#2634) 2021-09-15 01:24:49 +02:00
FileSystem hle: Some cleanup (#3210) 2022-03-22 20:46:16 +01:00
HOS Refactor CPU interface to allow the implementation of other CPU emulators (#3362) 2022-05-31 16:29:35 -03:00
Loaders Update LibHac to v0.16.0 (#3159) 2022-02-27 00:52:25 +01:00
Ui infra: Migrate to .NET 6 (#2829) 2021-11-28 21:24:17 +01:00
Utilities sfdnsres: Fix serialization issues (#2992) 2022-01-12 17:43:00 +01:00
HLEConfiguration.cs hle: Some cleanup (#3210) 2022-03-22 20:46:16 +01:00
Homebrew.npdm Better process implementation (#491) 2018-11-28 20:18:09 -02:00
MemoryConfiguration.cs hos: Cleanup the project (#2634) 2021-09-15 01:24:49 +02:00
PerformanceStatistics.cs Adjustments to framerate metric and addition of frametime (#2638) 2021-09-15 02:26:10 +02:00
Ryujinx.HLE.csproj Update to LibHac 0.16.1 (#3263) 2022-04-07 15:18:14 -03:00
Switch.cs Avalonia UI - Part 1 (#3270) 2022-05-15 13:30:15 +02:00