Previous 199869 Revisions Next

r19452 Monday 10th December, 2012 at 20:38:16 UTC by Wilbert Pol
315_5124.c: Fixed copy/paste error that caused FluBBa's "Offscreen Y, col" test to fail for the game gear vdp.  [Enik Land]
[src/emu/video]315_5124.c

trunk/src/emu/video/315_5124.c
r19451r19452
290290      break;
291291
292292   case TIMER_DRAW:
293      update_palette();
293294      draw_scanline( SEGA315_5124_LBORDER_START + SEGA315_5124_LBORDER_WIDTH, param, m_screen->vpos() - param );
294295      break;
295296
r19451r19452
469470      /* Draw middle of the border */
470471      /* We need to do this through the regular drawing function so it will */
471472      /* be included in the gamegear scaling functions */
472      select_sprites( vpos_limit, vpos - vpos_limit );
473      select_sprites( vpos_limit + m_frame_timing[TOP_BORDER], vpos - (vpos_limit + m_frame_timing[TOP_BORDER]) );
473474      draw_scanline( SEGA315_5124_LBORDER_START + SEGA315_5124_LBORDER_WIDTH, vpos_limit + m_frame_timing[TOP_BORDER], vpos - (vpos_limit + m_frame_timing[TOP_BORDER]) );
474475      return;
475476   }

Previous 199869 Revisions Next


© 1997-2024 The MAME Team