Previous 199869 Revisions Next

r20444 Thursday 24th January, 2013 at 19:05:06 UTC by Wilbert Pol
(MESS) g7400: Make sure we stay inside ef9340/1 bounds. (nw)
[src/mess/drivers]odyssey2.c

trunk/src/mess/drivers/odyssey2.c
r20443r20444
458458   {
459459      UINT16 d = bitmap->pix16( vpos, x );
460460
461      if ( ( ! m_g7400_ic678_decode[ d & 0x07 ] ) && x >= x_real_start && x < x_real_end && y < 240 )
461      if ( ( ! m_g7400_ic678_decode[ d & 0x07 ] ) && x >= x_real_start && x < x_real_end && y >= 0 && y < 240 )
462462      {
463463         // Use EF934x input
464464         d = ef934x_bitmap->pix16( y, x - x_real_start ) & 0x07;

Previous 199869 Revisions Next


© 1997-2024 The MAME Team