mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-12 10:37:06 +00:00
Optimize application pool sizes
* Increases compatibility with resolution mods
This commit is contained in:
parent
e221f7dbfc
commit
e07163600f
1 changed files with 4 additions and 4 deletions
|
|
@ -24,13 +24,13 @@ namespace Ryujinx.HLE.HOS.Kernel.Common
|
|||
{
|
||||
return arrange switch
|
||||
{
|
||||
MemoryArrange.MemoryArrange4GiB or
|
||||
MemoryArrange.MemoryArrange4GiB => 3455 * MiB,
|
||||
MemoryArrange.MemoryArrange4GiBSystemDev or
|
||||
MemoryArrange.MemoryArrange6GiBAppletDev => 3285 * MiB,
|
||||
MemoryArrange.MemoryArrange4GiBAppletDev => 2048 * MiB,
|
||||
MemoryArrange.MemoryArrange6GiB => 4916 * MiB,
|
||||
MemoryArrange.MemoryArrange8GiB => 6964 * MiB,
|
||||
MemoryArrange.MemoryArrange12GiB => 11060 * MiB,
|
||||
MemoryArrange.MemoryArrange6GiB => 5445 * MiB,
|
||||
MemoryArrange.MemoryArrange8GiB => 7493 * MiB,
|
||||
MemoryArrange.MemoryArrange12GiB => 11139 * MiB,
|
||||
_ => throw new ArgumentException($"Invalid memory arrange \"{arrange}\"."),
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue