Previous 15994 Revisions Next

r13862 Wednesday 4th January, 2012 at 18:34:11 UTC by Angelo Salese
Fix z80dma assert (Kage no Densetsu regression on X1 Turbo)
[src/emu/machine]z80dma.c

src/emu/machine/z80dma.c
r13861r13862
597597{
598598   UINT8 res;
599599
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];
602604
603   res = m_read_regs_follow[m_read_cur_follow];
604605   m_read_cur_follow++;
605606
606607   if(m_read_cur_follow >= m_read_num_follow)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team