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