Previous 199869 Revisions Next

r33561 Thursday 27th November, 2014 at 10:46:19 UTC by Robbbert
(MESS) gamecom : added support for dma.decrement_y. Fixes reversed animations in Frogger.
[src/mess/machine]gamecom.c

trunk/src/mess/machine/gamecom.c
r242072r242073
435435      return;
436436   }
437437
438   if ( m_dma.decrement_x || m_dma.decrement_y )
439   {
440      popmessage( "TODO: Decrement-x and decrement-y are not supported yet\n" );
441   }
438   //if ( m_dma.decrement_x || m_dma.decrement_y )
439   //{
440      //popmessage( "TODO: Decrement-x and decrement-y are not supported yet\n" );
441   //}
442442
443443   m_dma.width_x = RAM[SM8521_DMDX];
444444   m_dma.width_x_count = 0;
r242072r242073
574574      /* Advance a line */
575575      m_dma.source_x_current = m_dma.source_x;
576576      m_dma.dest_x_current = m_dma.dest_x;
577      m_dma.source_line += m_dma.source_width;
577      if ( m_dma.decrement_y )
578         m_dma.source_line -= m_dma.source_width;
579      else
580         m_dma.source_line += m_dma.source_width;
578581      m_dma.source_current = m_dma.source_line;
579582      m_dma.dest_line += m_dma.dest_width;
580583      m_dma.dest_current = m_dma.dest_line;


Previous 199869 Revisions Next


© 1997-2024 The MAME Team