mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-20 19:30:21 +00:00
Fix video configuration initialization order not being applied for 50% scan lines
This commit is contained in:
parent
24ac8886c6
commit
88a7ab7b0b
@ -432,7 +432,6 @@ void LoadConfiguration(void)
|
||||
REGLOAD(TEXT(REGVALUE_ENHANCE_DISK_SPEED),(DWORD *)&enhancedisk);
|
||||
|
||||
Config_Load_Video();
|
||||
VideoReinitialize();
|
||||
|
||||
REGLOAD(TEXT("Uthernet Active") ,(DWORD *)&tfe_enabled);
|
||||
|
||||
|
@ -1232,12 +1232,11 @@ void NTSC_VideoInit( uint8_t* pFramebuffer ) // wsVideoInit
|
||||
|
||||
vbp0 = g_aNTSC_Lines[0]; // wsLines
|
||||
|
||||
g_pFunc_ntscMonoPixel = ntscMonoSinglePixel ;
|
||||
g_pFunc_ntscColorPixel = ntscColorSinglePixel;
|
||||
|
||||
g_pFunc_NTSCVideoUpdateText = NTSC_UpdateVideoText40;
|
||||
g_pFunc_NTSCVideoUpdateText = NTSC_UpdateVideoText40;
|
||||
g_pFunc_NTSCVideoUpdateGraphics = NTSC_UpdateVideoText40;
|
||||
|
||||
VideoReinitialize(); // Setup g_pFunc_ntsc*Pixel()
|
||||
|
||||
#if HGR_TEST_PATTERN
|
||||
// Michael -- Init HGR to almost all-possible-combinations
|
||||
// CALL-151
|
||||
|
@ -378,7 +378,6 @@ void VideoInitialize ()
|
||||
g_pFramebufferinfo->bmiHeader.biClrUsed = 0;
|
||||
|
||||
NTSC_VideoCreateDIBSection();
|
||||
// VideoReinitialize(); // Can't call here since Config_Video_Load() hasn't been called yet
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
@ -1197,7 +1196,7 @@ void VideoRedrawScreen ()
|
||||
{
|
||||
g_VideoForceFullRedraw = 1;
|
||||
|
||||
VideoRefreshScreen( g_uVideoMode ); //g_uVideoMode );
|
||||
VideoRefreshScreen( g_uVideoMode );
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
@ -1276,11 +1275,6 @@ void VideoRefreshScreen ( int bVideoModeFlags )
|
||||
// NTSC_END
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
//void _Video_RedrawScreen( VideoUpdateFuncPtr_t pfUpdate, bool bMixed )
|
||||
// FrameReleaseVideoDC();
|
||||
// SetLastDrawnImage();
|
||||
|
||||
//===========================================================================
|
||||
void VideoReinitialize ()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user