| Previous | 199869 Revisions | Next |
| r21857 Thursday 14th March, 2013 at 14:43:01 UTC by Fabio Priuli |
|---|
| and this requires some more thinking... nw. |
| [src/mess/machine] | md_sk.c |
| r21856 | r21857 | |
|---|---|---|
| 50 | 50 | |
| 51 | 51 | READ16_MEMBER(md_rom_sk_device::read) |
| 52 | 52 | { |
| 53 | if (offset >= 0x200000/2 && offset < 0x400000/2) | |
| 54 | return m_exp->read(space, offset - 0x200000/2); | |
| 53 | if (m_exp->m_cart != NULL && m_exp->m_cart->get_rom_base() != NULL && offset >= 0x200000/2 && offset < (0x200000 + m_exp->m_cart->get_rom_size())/2) | |
| 54 | return m_exp->m_cart->m_rom[offset - 0x200000/2]; | |
| 55 | 55 | if (offset < 0x400000/2) |
| 56 | 56 | return m_rom[MD_ADDR(offset)]; |
| 57 | 57 | else |
| Previous | 199869 Revisions | Next |