1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-19 23:12:04 +00:00
Ryujinx/Ryujinx.HLE/HOS
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
..
Applets Avalonia UI - Part 1 (#3270) 2022-05-15 13:30:15 +02:00
Diagnostics/Demangler
Ipc misc: Make PID unsigned long instead of long (#3043) 2022-02-09 17:18:07 -03:00
Kernel Refactor CPU interface to allow the implementation of other CPU emulators (#3362) 2022-05-31 16:29:35 -03:00
Services Refactor CPU interface to allow the implementation of other CPU emulators (#3362) 2022-05-31 16:29:35 -03:00
SystemState Use Enum and Delegate.CreateDelegate generic overloads (#3111) 2022-02-13 10:50:07 -03:00
Tamper Add Cheat Manager (#2964) 2022-01-03 09:39:43 +01:00
ApplicationLoader.cs Allow loading NSPs without a NCA inside (#3364) 2022-05-31 16:16:59 -03:00
ArmProcessContext.cs Refactor CPU interface to allow the implementation of other CPU emulators (#3362) 2022-05-31 16:29:35 -03:00
ArmProcessContextFactory.cs Refactor CPU interface to allow the implementation of other CPU emulators (#3362) 2022-05-31 16:29:35 -03:00
HomebrewRomFsStream.cs
Horizon.cs Refactor CPU interface to allow the implementation of other CPU emulators (#3362) 2022-05-31 16:29:35 -03:00
IdDictionary.cs Implement GPU syncpoints (#980) 2020-04-19 11:25:57 +10:00
LibHacHorizonManager.cs Update LibHac to v0.16.0 (#3159) 2022-02-27 00:52:25 +01:00
ModLoader.cs Remove save data creation prompt (#3252) 2022-04-08 11:09:35 +02:00
ProgramLoader.cs Refactor CPU interface to allow the implementation of other CPU emulators (#3362) 2022-05-31 16:29:35 -03:00
ResultCode.cs
ServiceCtx.cs hos: Cleanup the project (#2634) 2021-09-15 01:24:49 +02:00
TamperMachine.cs misc: Make PID unsigned long instead of long (#3043) 2022-02-09 17:18:07 -03:00
UserChannelPersistence.cs