mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-20 15:17:50 +00:00
WIP: NTSC Full screen support
This commit is contained in:
+3
-12
@@ -1065,16 +1065,6 @@ void VideoDisplayLogo ()
|
||||
DeleteObject(font);
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
void VideoRealizePalette(HDC dc)
|
||||
{
|
||||
if (g_hPalette)
|
||||
{
|
||||
SelectPalette(dc,g_hPalette,0);
|
||||
RealizePalette(dc);
|
||||
}
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
|
||||
void VideoRedrawScreen ()
|
||||
@@ -1131,7 +1121,7 @@ void VideoRefreshScreen ( int bVideoModeFlags )
|
||||
NTSC_VideoUpdateCycles( VIDEO_SCANNER_6502_CYCLES );
|
||||
}
|
||||
|
||||
// NTSC_BEGIN: wsVideoRefresh()
|
||||
// NTSC_BEGIN
|
||||
LPBYTE pDstFrameBufferBits = 0;
|
||||
LONG pitch = 0;
|
||||
HDC hFrameDC = FrameGetVideoDC(&pDstFrameBufferBits,&pitch);
|
||||
@@ -1149,6 +1139,8 @@ void VideoRefreshScreen ( int bVideoModeFlags )
|
||||
GdiFlush();
|
||||
}
|
||||
|
||||
FrameReleaseVideoDC();
|
||||
|
||||
if (g_VideoForceFullRedraw)
|
||||
--g_VideoForceFullRedraw;
|
||||
// NTSC_END
|
||||
@@ -1761,4 +1753,3 @@ void videoCreateDIBSection()
|
||||
|
||||
NTSC_VideoInit( g_pFramebufferbits );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user