src/emu/machine/z80dma.c
| r13861 | r13862 | |
| 597 | 597 | { |
| 598 | 598 | UINT8 res; |
| 599 | 599 | |
| 600 | | if(m_read_num_follow == 0) /* TODO: should return the status, but let me know WHAT uses this first */ |
| 601 | | fatalerror("Z80DMA '%s' Read without anything setted into stack", tag()); |
| 600 | if(m_read_num_follow == 0) // special case: Legend of Kage on X1 Turbo |
| 601 | res = m_status; |
| 602 | else |
| 603 | res = m_read_regs_follow[m_read_cur_follow]; |
| 602 | 604 | |
| 603 | | res = m_read_regs_follow[m_read_cur_follow]; |
| 604 | 605 | m_read_cur_follow++; |
| 605 | 606 | |
| 606 | 607 | if(m_read_cur_follow >= m_read_num_follow) |