mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-04 17:48:56 +02:00
Revert "Memory Changes"
This reverts commit d5c9bc662c.
Solves crash in Kirby Star Allies after a few mins of gameplay, possibly other titles.
This commit is contained in:
@@ -690,8 +690,11 @@ namespace Ryujinx.Graphics.Gpu.Memory
|
||||
if (_pageTable[l0] == null)
|
||||
{
|
||||
_pageTable[l0] = new ulong[PtLvl1Size];
|
||||
|
||||
Array.Fill(_pageTable[l0], PteUnmapped);
|
||||
|
||||
for (ulong index = 0; index < PtLvl1Size; index++)
|
||||
{
|
||||
_pageTable[l0][index] = PteUnmapped;
|
||||
}
|
||||
}
|
||||
|
||||
_pageTable[l0][l1] = pte;
|
||||
|
||||
Reference in New Issue
Block a user