forked from Mirror/Ryujinx
14 lines
408 B
C#
14 lines
408 B
C#
|
using Ryujinx.Cpu;
|
|||
|
using Ryujinx.Memory;
|
|||
|
|
|||
|
namespace Ryujinx.HLE.HOS.Kernel.Process
|
|||
|
{
|
|||
|
class ProcessContextFactory : IProcessContextFactory
|
|||
|
{
|
|||
|
public IProcessContext Create(MemoryBlock backingMemory, ulong addressSpaceSize, InvalidAccessHandler invalidAccessHandler)
|
|||
|
{
|
|||
|
return new ProcessContext(new AddressSpaceManager(backingMemory, addressSpaceSize));
|
|||
|
}
|
|||
|
}
|
|||
|
}
|