0
0
Fork 0
This repository has been archived on 2024-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
ryujinx-final/src/Ryujinx.Cpu
riperiperi 7df4fcada7
GPU: Remove CPU region handle containers (#4817)
* GPU: Remove CPU region handle containers.

Another one for the "I don't know why I didn't do this earlier" pile.

This removes the "Cpu" prefixed region handle classes, which each mirror a region handle type from Ryujinx.Memory.

Originally, not all projects had a reference to Ryujinx.Memory, so these classes were introduced to bridge the gap. Someone else crossed that bridge since, so these classes don't have much of a purpose anymore.

This PR replaces all uses of CpuRegionHandle etc to their direct Ryujinx.Memory versions.

RegionHandle methods (specifically QueryModified) are about the hottest path there is in the entire emulator, so there is a nice boost from doing this.

* Add docs
2023-05-05 23:40:46 +02:00
..
AppleHv GPU: Remove CPU region handle containers (#4817) 2023-05-05 23:40:46 +02:00
Jit GPU: Remove CPU region handle containers (#4817) 2023-05-05 23:40:46 +02:00
AddressSpace.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
ExceptionCallbacks.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
ICpuContext.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
ICpuEngine.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
IDiskCacheState.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
IExecutionContext.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
ITickSource.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
IVirtualMemoryManagerTracked.cs GPU: Remove CPU region handle containers (#4817) 2023-05-05 23:40:46 +02:00
LoadState.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
MemoryEhMeilleure.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
MemoryHelper.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
MemoryManagerBase.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
PrivateMemoryAllocation.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
PrivateMemoryAllocator.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
Ryujinx.Cpu.csproj Move solution and projects to src 2023-04-27 23:51:14 +02:00
TickSource.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00