mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-01 12:31:59 +00:00
VideoRefreshScreen(): Use default args instead of passing 0 for arg0
This commit is contained in:
parent
1bb60026a5
commit
421d9a77f6
@ -288,7 +288,7 @@ void ContinueExecution(void)
|
||||
if (g_bFullSpeed)
|
||||
VideoRedrawScreenDuringFullSpeed(g_dwCyclesThisFrame);
|
||||
else
|
||||
VideoRefreshScreen(0); // Just copy the output of our Apple framebuffer to the system Back Buffer
|
||||
VideoRefreshScreen(); // Just copy the output of our Apple framebuffer to the system Back Buffer
|
||||
|
||||
MB_EndOfVideoFrame();
|
||||
}
|
||||
|
@ -1247,12 +1247,14 @@ LRESULT CALLBACK FrameWndProc (
|
||||
if (g_nAppMode == MODE_DEBUG)
|
||||
{
|
||||
UINT debugVideoMode;
|
||||
bool bIsVideoModeValid = DebugGetVideoMode(&debugVideoMode);
|
||||
VideoRefreshScreen( bIsVideoModeValid ? debugVideoMode : 0, bIsVideoModeValid );
|
||||
if ( DebugGetVideoMode(&debugVideoMode) )
|
||||
VideoRefreshScreen(debugVideoMode, true);
|
||||
else
|
||||
VideoRefreshScreen();
|
||||
}
|
||||
else
|
||||
{
|
||||
VideoRefreshScreen(0);
|
||||
VideoRefreshScreen();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -768,7 +768,7 @@ inline void updateVideoScannerHorzEOL()
|
||||
g_nVideoClockVert = 0;
|
||||
|
||||
updateFlashRate();
|
||||
//VideoRefreshScreen(0); // ContinueExecution() calls VideoRefreshScreen(0) every dwClksPerFrame (17030)
|
||||
//VideoRefreshScreen(); // ContinueExecution() calls VideoRefreshScreen() every dwClksPerFrame (17030)
|
||||
}
|
||||
|
||||
if (g_nVideoClockVert < VIDEO_SCANNER_Y_DISPLAY)
|
||||
|
@ -673,7 +673,7 @@ void VideoBenchmark () {
|
||||
FillMemory(mem+0x400,0x400,0x14);
|
||||
else
|
||||
CopyMemory(mem+0x400,mem+((cycle & 2) ? 0x4000 : 0x6000),0x400);
|
||||
VideoRefreshScreen(0);
|
||||
VideoRefreshScreen();
|
||||
if (cycle++ >= 3)
|
||||
cycle = 0;
|
||||
totaltextfps++;
|
||||
@ -695,7 +695,7 @@ void VideoBenchmark () {
|
||||
FillMemory(mem+0x2000,0x2000,0x14);
|
||||
else
|
||||
CopyMemory(mem+0x2000,mem+((cycle & 2) ? 0x4000 : 0x6000),0x2000);
|
||||
VideoRefreshScreen(0);
|
||||
VideoRefreshScreen();
|
||||
if (cycle++ >= 3)
|
||||
cycle = 0;
|
||||
totalhiresfps++;
|
||||
@ -786,7 +786,7 @@ void VideoBenchmark () {
|
||||
FillMemory(mem+0x2000,0x2000,0xAA);
|
||||
else
|
||||
CopyMemory(mem+0x2000,mem+((cycle & 2) ? 0x4000 : 0x6000),0x2000);
|
||||
VideoRedrawScreen(); // VideoRefreshScreen();
|
||||
VideoRedrawScreen();
|
||||
if (cycle++ >= 3)
|
||||
cycle = 0;
|
||||
realisticfps++;
|
||||
|
Loading…
Reference in New Issue
Block a user