mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-10-12 02:09:17 +00:00
rsx_cache: throw exception on OOB write to vp_jump_table
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user