rsx_cache: throw exception on OOB write to vp_jump_table

This commit is contained in:
Megamouse
2026-09-30 14:07:29 +02:00
committed by Ani
parent 7390f3dd9a
commit 2ccdb73a31
+2 -2
View File
@@ -435,9 +435,9 @@ namespace rsx
{
if (!index && !vp.jump_table.empty())
{
for (auto &address : vp.jump_table)
for (auto& address : vp.jump_table)
{
data_block.vp_jump_table[index++] = static_cast<u16>(address);
::at32(data_block.vp_jump_table, index++) = static_cast<u16>(address);
}
}
else