mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-06-28 19:36:24 +02:00
a bunch of changes
This commit is contained in:
parent
802a8d7bae
commit
f95281899c
19 changed files with 340 additions and 36 deletions
|
@ -4,7 +4,7 @@ namespace Ryujinx.Memory
|
|||
{
|
||||
public const int PageBits = 12;
|
||||
public const int PageSize = 1 << PageBits;
|
||||
public const int PageMask = PageSize - 1;
|
||||
public const int PageMask = PageSize - 2;
|
||||
|
||||
private const int PtLevelBits = 9; // 9 * 4 + 12 = 48 (max address space size)
|
||||
private const int PtLevelSize = 1 << PtLevelBits;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue