mirror of
https://github.com/holub/mame
synced 2025-06-07 13:23:50 +03:00
spcpokan: fix out-of-bounds access on POST VROM test. (MT #8307) [R. Belmont]
This commit is contained in:
parent
0825e4619f
commit
082bb577da
@ -118,7 +118,10 @@ private:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (offset & 1)
|
if (offset & 1)
|
||||||
|
{
|
||||||
offset |= 0x100000;
|
offset |= 0x100000;
|
||||||
|
offset &= ~1;
|
||||||
|
}
|
||||||
|
|
||||||
return m_k056832->piratesh_rom_r(offset);
|
return m_k056832->piratesh_rom_r(offset);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user