fix alignment of tempMultiplyMatrix and currentMatrix[4] in GeometryEngineLegacySave. Fixes #657. It would be better to fix this perhaps by making NDSMatrix a type that has the alignas(16) put on it while inheriting from std::array<u32,16> perhaps, so this mistake is not possible?
This commit is contained in:
parent
c97ba8fb16
commit
6b7559c71b
|
@ -666,8 +666,8 @@ struct GeometryEngineLegacySave
|
|||
u32 texPalette;
|
||||
|
||||
u32 mtxCurrentMode;
|
||||
NDSMatrix tempMultiplyMatrix;
|
||||
NDSMatrix currentMatrix[4];
|
||||
CACHE_ALIGN NDSMatrix tempMultiplyMatrix;
|
||||
CACHE_ALIGN NDSMatrix currentMatrix[4];
|
||||
u8 mtxLoad4x4PendingIndex;
|
||||
u8 mtxLoad4x3PendingIndex;
|
||||
u8 mtxMultiply4x4TempIndex;
|
||||
|
|
Loading…
Reference in New Issue