PPU: Fix STVLX

Fixes Sly 2 and Sly 3 crash on boot (RSX desync).
This commit is contained in:
Nick Renieris 2022-09-03 23:07:18 +03:00 committed by Ivan
parent 64579eef7e
commit 905496e926

View file

@ -5311,7 +5311,7 @@ auto STVLX()
{
const u64 addr = op.ra ? a + b : b;
const u32 tail = u32(addr & 15);
u8* ptr = vm::_ptr<u8>(addr & -16);
u8* ptr = vm::_ptr<u8>(addr);
for (u32 j = 0; j < 16 - tail; j++)
ptr[j] = s.u8r[j];
};