vgmplay.cpp : Fix nmk112 banked table mask

This commit is contained in:
cam900 2018-07-19 19:41:47 +09:00 committed by GitHub
parent 13c663f17a
commit e70ab3625b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1232,7 +1232,7 @@ READ8_MEMBER(vgmplay_device::okim6295_rom_r)
{
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
{