mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-10-01 12:30:00 +02:00
Color* should be an array in NvGpuIoctlZbcSetTable
This commit is contained in:
parent
1f013df7ed
commit
4c19c908e5
1 changed files with 16 additions and 5 deletions
|
@ -389,8 +389,19 @@ namespace Ryujinx.Core.OsHle.Services.Nv
|
||||||
|
|
||||||
MemReader Reader = new MemReader(Context.Memory, Position);
|
MemReader Reader = new MemReader(Context.Memory, Position);
|
||||||
|
|
||||||
int ColorDs = Reader.ReadInt32();
|
int[] ColorDs = new int[4];
|
||||||
int ColorL2 = Reader.ReadInt32();
|
int[] ColorL2 = new int[4];
|
||||||
|
|
||||||
|
ColorDs[0] = Reader.ReadInt32();
|
||||||
|
ColorDs[1] = Reader.ReadInt32();
|
||||||
|
ColorDs[2] = Reader.ReadInt32();
|
||||||
|
ColorDs[3] = Reader.ReadInt32();
|
||||||
|
|
||||||
|
ColorL2[0] = Reader.ReadInt32();
|
||||||
|
ColorL2[1] = Reader.ReadInt32();
|
||||||
|
ColorL2[2] = Reader.ReadInt32();
|
||||||
|
ColorL2[3] = Reader.ReadInt32();
|
||||||
|
|
||||||
int Depth = Reader.ReadInt32();
|
int Depth = Reader.ReadInt32();
|
||||||
int Format = Reader.ReadInt32();
|
int Format = Reader.ReadInt32();
|
||||||
int Type = Reader.ReadInt32();
|
int Type = Reader.ReadInt32();
|
||||||
|
|
Loading…
Reference in a new issue