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