Previous 199869 Revisions Next

r22523 Wednesday 24th April, 2013 at 09:37:17 UTC by Miodrag Milanović
compile fix (nw)
[src/mess/machine]md_rom.c

trunk/src/mess/machine/md_rom.c
r22522r22523
928928READ16_MEMBER(md_rom_realtec_device::read)
929929{
930930   if (offset < (m_bank_size * 0x20000))   // two banks of same (variable) size at the bottom of the rom
931      return m_rom[MD_ADDR(offset + (m_bank_addr * 0x20000)/2)];
932   return m_rom[MD_ADDR((offset & 0x1fff/2) + 0x7e000/2)];  // otherwise it accesses the final 8k of the image
931      return m_rom[MD_ADDR((offset + (m_bank_addr * 0x20000)/2))];
932   return m_rom[MD_ADDR(((offset & 0x1fff/2) + 0x7e000/2))];  // otherwise it accesses the final 8k of the image
933933}
934934
935935WRITE16_MEMBER(md_rom_realtec_device::write)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team