forked from Mirror/Ryujinx
fbb4019ed5
* Make GPU memory manager a member of GPU channel * Move physical memory instance to the memory manager, and the caches to the physical memory * PR feedback
12 lines
395 B
C#
12 lines
395 B
C#
using Ryujinx.Memory;
|
|
|
|
namespace Ryujinx.HLE.HOS.Kernel.Process
|
|
{
|
|
class ProcessContextFactory : IProcessContextFactory
|
|
{
|
|
public IProcessContext Create(KernelContext context, long pid, ulong addressSpaceSize, InvalidAccessHandler invalidAccessHandler, bool for64Bit)
|
|
{
|
|
return new ProcessContext(new AddressSpaceManager(addressSpaceSize));
|
|
}
|
|
}
|
|
}
|