Cleanup dead code

This commit is contained in:
michaelangel007 2015-01-05 23:14:44 -08:00
parent ad6215dbc7
commit 00f9d8f1b9

View File

@ -1420,8 +1420,6 @@ void NTSC_SetVideoMode( int bVideoModeFlags )
} }
} }
UpdateScreenFunc_t pPrevUpdate = g_pFuncUpdateGraphicsScreen;
if (bVideoModeFlags & VF_TEXT) { if (bVideoModeFlags & VF_TEXT) {
if (bVideoModeFlags & VF_80COL) if (bVideoModeFlags & VF_80COL)
g_pFuncUpdateGraphicsScreen = updateScreenText80; g_pFuncUpdateGraphicsScreen = updateScreenText80;
@ -1446,16 +1444,8 @@ void NTSC_SetVideoMode( int bVideoModeFlags )
else else
g_pFuncUpdateGraphicsScreen = updateScreenSingleLores40; g_pFuncUpdateGraphicsScreen = updateScreenSingleLores40;
} }
#if 0
g_aFuncUpdateHorz[ g_nVideoClockHorz ] = g_pFuncUpdateGraphicsScreen; // ANSI STORY
if( g_nVideoClockHorz >= VIDEO_SCANNER_HORZ_START )
g_pFuncUpdateGraphicsScreen = pPrevUpdate;
else
g_aFuncUpdateHorz[0] = g_pFuncUpdateGraphicsScreen;
#else
g_aFuncUpdateHorz[ h ] = g_pFuncUpdateGraphicsScreen; // NTSC: ANSI STORY g_aFuncUpdateHorz[ h ] = g_pFuncUpdateGraphicsScreen; // NTSC: ANSI STORY
#endif
} }
//=========================================================================== //===========================================================================