spcpokan: fix out-of-bounds access on POST VROM test. (MT #8307) [R. Belmont]

This commit is contained in:
arbee 2022-04-28 18:39:18 -04:00
parent 0825e4619f
commit 082bb577da

View File

@ -118,7 +118,10 @@ private:
}
if (offset & 1)
{
offset |= 0x100000;
offset &= ~1;
}
return m_k056832->piratesh_rom_r(offset);
}