mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-24 07:22:58 +00:00
Use the correct register length for index_array
The index_array can't possible be 31 bits long as that would index out of bounds memory. According to 3dbrew, this should be 28
This commit is contained in:
parent
4efb9c6d99
commit
30dfe1fcb8
|
@ -138,7 +138,8 @@ struct PipelineRegs {
|
|||
};
|
||||
|
||||
union {
|
||||
BitField<0, 31, u32> offset; // relative to base attribute address
|
||||
BitField<0, 28, u32> offset; // relative to base attribute address
|
||||
BitField<28, 3, u32> unused;
|
||||
BitField<31, 1, IndexFormat> format;
|
||||
};
|
||||
} index_array;
|
||||
|
|
Loading…
Reference in a new issue