Fix 4GB dram crashing
This commit is contained in:
parent
96fbdc813b
commit
bc062fd90e
2 changed files with 3 additions and 3 deletions
|
@ -26,7 +26,7 @@ namespace Ryujinx.HLE.HOS.Kernel.Common
|
|||
{
|
||||
MemoryArrange.MemoryArrange4GiB or
|
||||
MemoryArrange.MemoryArrange4GiBSystemDev or
|
||||
MemoryArrange.MemoryArrange6GiBAppletDev => 2193 * MiB,
|
||||
MemoryArrange.MemoryArrange6GiBAppletDev => 3285 * MiB,
|
||||
MemoryArrange.MemoryArrange4GiBAppletDev => 2048 * MiB,
|
||||
MemoryArrange.MemoryArrange6GiB => 4916 * MiB,
|
||||
MemoryArrange.MemoryArrange8GiB => 6964 * MiB,
|
||||
|
@ -75,4 +75,4 @@ namespace Ryujinx.HLE.HOS.Kernel.Common
|
|||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -562,7 +562,7 @@ namespace Ryujinx.Headless.SDL2
|
|||
_userChannelPersistence,
|
||||
renderer,
|
||||
new SDL2HardwareDeviceDriver(),
|
||||
options.ExpandRAM ? MemoryConfiguration.MemoryConfiguration6GiB : MemoryConfiguration.MemoryConfiguration4GiB,
|
||||
options.ExpandRAM ? MemoryConfiguration.MemoryConfiguration8GiB : MemoryConfiguration.MemoryConfiguration4GiB,
|
||||
window,
|
||||
options.SystemLanguage,
|
||||
options.SystemRegion,
|
||||
|
|
Loading…
Add table
Reference in a new issue