mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-07 16:59:25 +02:00
Memory changes 2.1
* Fixes a few crashes * Simplifies a few functions * Changes a few calls to use faster methods
This commit is contained in:
@@ -108,7 +108,7 @@ namespace Ryujinx.Graphics.Gpu.Engine.Threed
|
||||
|
||||
if (index < BlockSize)
|
||||
{
|
||||
int groupIndex = Unsafe.Add(ref MemoryMarshal.GetArrayDataReference(_registerToGroupMapping), (IntPtr)index);
|
||||
int groupIndex = _registerToGroupMapping[index];
|
||||
if (groupIndex != 0)
|
||||
{
|
||||
groupIndex--;
|
||||
|
||||
Reference in New Issue
Block a user