mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-20 00:17:16 +00:00
Calculate full-screen scale using borderless dimensions & allow more than 2x scale
This commit is contained in:
+7
-4
@@ -1103,10 +1103,6 @@ void VideoDisplayLogo ()
|
||||
void VideoRedrawScreenDuringFullSpeed(DWORD dwCyclesThisFrame, bool bInvalidate /*=false*/)
|
||||
{
|
||||
static bool bValid = false;
|
||||
static BYTE text_main[1024*2] = {0}; // page1 & 2
|
||||
static BYTE text_aux[1024*2] = {0}; // page1 & 2
|
||||
static BYTE hgr_main[8192*2] = {0}; // page1 & 2
|
||||
static BYTE hgr_aux[8192*2] = {0}; // page1 & 2
|
||||
|
||||
if (bInvalidate)
|
||||
{
|
||||
@@ -1114,6 +1110,13 @@ void VideoRedrawScreenDuringFullSpeed(DWORD dwCyclesThisFrame, bool bInvalidate
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
static BYTE text_main[1024*2] = {0}; // page1 & 2
|
||||
static BYTE text_aux[1024*2] = {0}; // page1 & 2
|
||||
static BYTE hgr_main[8192*2] = {0}; // page1 & 2
|
||||
static BYTE hgr_aux[8192*2] = {0}; // page1 & 2
|
||||
|
||||
bool bRedraw = true; // Always redraw for bValid==false (ie. just entered full-speed mode)
|
||||
|
||||
if (bValid)
|
||||
|
||||
Reference in New Issue
Block a user