Fix minor Horz timing bug in updateVideoHorzEOL

This commit is contained in:
michaelangel007 2015-01-02 19:08:30 -08:00
parent b6b384bc10
commit bddf3df22e

View File

@ -442,7 +442,6 @@ inline void updateVideoHorzEOL()
{ {
if (VIDEO_SCANNER_MAX_HORZ == ++g_nVideoClockHorz) if (VIDEO_SCANNER_MAX_HORZ == ++g_nVideoClockHorz)
{ {
g_nVideoClockHorz = 0;
if (g_nVideoClockVert < VIDEO_SCANNER_Y_DISPLAY) if (g_nVideoClockVert < VIDEO_SCANNER_Y_DISPLAY)
{ {
//VIDEO_DRAW_ENDLINE(); //VIDEO_DRAW_ENDLINE();
@ -466,6 +465,8 @@ inline void updateVideoHorzEOL()
} }
} }
g_nVideoClockHorz = 0;
if (++g_nVideoClockVert == VIDEO_SCANNER_MAX_VERT) if (++g_nVideoClockVert == VIDEO_SCANNER_MAX_VERT)
{ {
g_nVideoClockVert = 0; g_nVideoClockVert = 0;