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