Previous 199869 Revisions Next

r30669 Monday 26th May, 2014 at 02:05:49 UTC by Carl
i8275: swap buffers before drawing the last row (nw)
[src/emu/video]i8275.c

trunk/src/emu/video/i8275.c
r30668r30669
210210         m_write_vrtc(0);
211211      }
212212     
213      if (m_scanline < (m_vrtc_scanline - SCANLINES_PER_ROW))
213      if (m_scanline <= (m_vrtc_scanline - SCANLINES_PER_ROW))
214214      {
215215         if (lc == 0)
216216         {
r30668r30669
231231               m_buffer_idx = 0;
232232               m_fifo_idx = 0;
233233
234               // start DMA burst
235               m_drq_on_timer->adjust(clocks_to_attotime(DMA_BURST_SPACE));
234               if ((m_scanline < (m_vrtc_scanline - SCANLINES_PER_ROW)))
235               {
236                  // start DMA burst
237                  m_drq_on_timer->adjust(clocks_to_attotime(DMA_BURST_SPACE));
238               }
236239            }
237240         }
238241      }

Previous 199869 Revisions Next


© 1997-2024 The MAME Team