Преглед на файлове

Fix regression caused by wrong SB descriptor offset (#1316)

gdkchan преди 5 години
родител
ревизия
96951b7d04
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      Ryujinx.Graphics.Gpu/Engine/Compute.cs

+ 1 - 1
Ryujinx.Graphics.Gpu/Engine/Compute.cs

@@ -86,7 +86,7 @@ namespace Ryujinx.Graphics.Gpu.Engine
 
                 ulong cbDescAddress = BufferManager.GetComputeUniformBufferAddress(0);
 
-                int cbDescOffset = 0x260 + cb.Slot * 0x10;
+                int cbDescOffset = 0x260 + (cb.Slot - 8) * 0x10;
 
                 cbDescAddress += (ulong)cbDescOffset;