mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-11 23:42:01 +00:00
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));
|
|||
|
}
|
|||
|
}
|
|||
|
}
|