aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Kernel/Process/ProcessContextFactory.cs
blob: 1c5798b40ef77b214c6d696f7e889bda276c7e54 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
using Ryujinx.Memory;

namespace Ryujinx.HLE.HOS.Kernel.Process
{
    class ProcessContextFactory : IProcessContextFactory
    {
        public IProcessContext Create(KernelContext context, ulong pid, ulong addressSpaceSize, InvalidAccessHandler invalidAccessHandler, bool for64Bit)
        {
            return new ProcessContext(new AddressSpaceManager(context.Memory, addressSpaceSize));
        }
    }
}