mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-08 16:28:49 +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));
|
|||
|
}
|
|||
|
}
|
|||
|
}
|