PPU: Fix STVLX
Fixes Sly 2 and Sly 3 crash on boot (RSX desync).
This commit is contained in:
@@ -5311,7 +5311,7 @@ auto STVLX()
|
|||||||
{
|
{
|
||||||
const u64 addr = op.ra ? a + b : b;
|
const u64 addr = op.ra ? a + b : b;
|
||||||
const u32 tail = u32(addr & 15);
|
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++)
|
for (u32 j = 0; j < 16 - tail; j++)
|
||||||
ptr[j] = s.u8r[j];
|
ptr[j] = s.u8r[j];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user