refactor part 2
This commit is contained in:
parent
ae9f902617
commit
24d3de2654
@ -122,8 +122,7 @@ namespace Ryujinx.HLE.HOS
|
|||||||
device,
|
device,
|
||||||
device.Memory,
|
device.Memory,
|
||||||
device.Configuration.MemoryConfiguration.ToKernelMemorySize(),
|
device.Configuration.MemoryConfiguration.ToKernelMemorySize(),
|
||||||
device.Configuration.MemoryConfiguration.ToKernelMemoryArrange(),
|
device.Configuration.MemoryConfiguration.ToKernelMemoryArrange());
|
||||||
device.CpuCoresCount);
|
|
||||||
|
|
||||||
Device = device;
|
Device = device;
|
||||||
|
|
||||||
|
@ -58,13 +58,12 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||||||
Switch device,
|
Switch device,
|
||||||
MemoryBlock memory,
|
MemoryBlock memory,
|
||||||
MemorySize memorySize,
|
MemorySize memorySize,
|
||||||
MemoryArrange memoryArrange,
|
MemoryArrange memoryArrange)
|
||||||
int cpuCoresCount)
|
|
||||||
{
|
{
|
||||||
TickSource = tickSource;
|
TickSource = tickSource;
|
||||||
Device = device;
|
Device = device;
|
||||||
Memory = memory;
|
Memory = memory;
|
||||||
KScheduler.CpuCoresCount = cpuCoresCount;
|
KScheduler.CpuCoresCount = device.CpuCoresCount;
|
||||||
|
|
||||||
Running = true;
|
Running = true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user