Initialize GPU physical memory accessor from KProcess, to allow homebrew that never maps anything on the GPU to work
This commit is contained in:
parent
6cf9a04d98
commit
647d0962df
7 changed files with 40 additions and 61 deletions
|
@ -1115,6 +1115,10 @@ namespace Ryujinx.HLE.HOS.Kernel.Process
|
|||
|
||||
Translator = new Translator(CpuMemory);
|
||||
|
||||
// TODO: This should eventually be removed.
|
||||
// The GPU shouldn't depend on the CPU memory manager at all.
|
||||
_system.Device.Gpu.SetVmm(CpuMemory);
|
||||
|
||||
MemoryManager = new KMemoryManager(_system, CpuMemory);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue