Previous 15994 Revisions Next

r942 Sunday 9th September, 2007 at 15:30:44 UTC by Wilbert Pol
[PCE] Small vertical scrolling fix.
[src/mess/video]vdc.c

src/mess/video/vdc.c
r941r942
6363   /* Draw the last scanline */
6464   if ( vdc.current_bitmap_line >= 14 && vdc.current_bitmap_line < 14 + 242 ) {
6565      /* We are in the active display area */
66      vdc.y_scroll++;
6766      if ( vdc.current_segment == STATE_VDW ) {
67         vdc.y_scroll = ( vdc.current_segment_line == 0 ) ? vdc.vdc_data[BYR].w : ( vdc.y_scroll + 1 );
6868         pce_refresh_line( vdc.current_bitmap_line, vdc.current_segment_line );
6969      } else {
7070         draw_overscan_line( vdc.current_bitmap_line );
r941r942
106106      vdc.current_segment = STATE_VDW;
107107      vdc.current_segment_line = 0;
108108      vdc.raster_count = 0x40;
109      vdc.y_scroll = vdc.vdc_data[BYR].w;
110109   }
111110
112111   if ( STATE_VDW == vdc.current_segment && vdc.current_segment_line > ( vdc.vdc_data[VDW].w & 0x01FF ) ) {

Previous 15994 Revisions Next


© 1998-2018 The MESS Team