Updated the KitchenSync
This commit is contained in:
@@ -268,6 +268,7 @@ void DDrawError(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
extern "C" BYTE vsyncon;
|
extern "C" BYTE vsyncon;
|
||||||
|
extern "C" BYTE KitchenSync;
|
||||||
|
|
||||||
void DrawScreen()
|
void DrawScreen()
|
||||||
{
|
{
|
||||||
@@ -280,6 +281,16 @@ void DrawScreen()
|
|||||||
|
|
||||||
if (DD_Primary->Flip(NULL, DDFLIP_WAIT) == DDERR_SURFACELOST)
|
if (DD_Primary->Flip(NULL, DDFLIP_WAIT) == DDERR_SURFACELOST)
|
||||||
DD_Primary->Restore();
|
DD_Primary->Restore();
|
||||||
|
|
||||||
|
if (KitchenSync == 1)
|
||||||
|
{
|
||||||
|
if (DD_BackBuffer->Blt(&rcWindow, DD_CFB, &BlitArea, DDBLT_WAIT, NULL) == DDERR_SURFACELOST)
|
||||||
|
DD_Primary->Restore();
|
||||||
|
|
||||||
|
if (DD_Primary->Flip(NULL, DDFLIP_WAIT) == DDERR_SURFACELOST)
|
||||||
|
DD_Primary->Restore();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -2211,7 +2222,6 @@ extern _int64 copymagic = 0x0008010000080100;
|
|||||||
extern _int64 coef = 0x0066009a0066009a;
|
extern _int64 coef = 0x0066009a0066009a;
|
||||||
|
|
||||||
extern BYTE MotionBlur;
|
extern BYTE MotionBlur;
|
||||||
extern BYTE KitchenSync;
|
|
||||||
extern WORD totlines;
|
extern WORD totlines;
|
||||||
|
|
||||||
void drawscreenwin(void)
|
void drawscreenwin(void)
|
||||||
|
|||||||
Reference in New Issue
Block a user