mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +03:00
Merge pull request #3759 from cam900/patch-39
vgmplay.cpp : Fix nmk112 banked table mask
This commit is contained in:
commit
fc41599f4b
@ -1232,7 +1232,7 @@ READ8_MEMBER(vgmplay_device::okim6295_rom_r)
|
|||||||
{
|
{
|
||||||
if ((offset < 0x400) && (m_okim6295_nmk112_enable[Chip] & 0x80))
|
if ((offset < 0x400) && (m_okim6295_nmk112_enable[Chip] & 0x80))
|
||||||
{
|
{
|
||||||
offset = (m_okim6295_nmk112_bank[Chip][(offset >> 8) & 0x3] << 16) | (offset & 0xff);
|
offset = (m_okim6295_nmk112_bank[Chip][(offset >> 8) & 0x3] << 16) | (offset & 0x3ff);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user