mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Merge pull request #10450 from unknownbrackets/bone-matrix
GPU: Avoid memory corruption on bone matrix > 96
This commit is contained in:
commit
43166c47e6
1 changed files with 2 additions and 1 deletions
|
@ -1739,7 +1739,8 @@ void GPUCommon::Execute_BoneMtxNum(u32 op, u32 diff) {
|
|||
const int end = 12 * 8 - (op & 0x7F);
|
||||
int i = 0;
|
||||
|
||||
bool fastLoad = !debugRecording_;
|
||||
// TODO: Validate what should happen when explicitly setting num to 96 or higher.
|
||||
bool fastLoad = !debugRecording_ && end > 0;
|
||||
if (currentList->pc < currentList->stall && currentList->pc + end * 4 >= currentList->stall) {
|
||||
fastLoad = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue