rename upscale hack related stuff

This commit is contained in:
FunkyFr3sh 2021-05-15 02:58:07 +02:00
parent c467b90e88
commit 5db961656a
7 changed files with 18 additions and 18 deletions

View file

@ -61,10 +61,10 @@ DWORD WINAPI gdi_render_main(void)
}
}
BOOL scale_cutscene = g_ddraw->vhack && util_detect_cutscene();
BOOL upscale_hack = g_ddraw->vhack && util_detect_low_res_screen();
if (g_ddraw->vhack)
InterlockedExchange(&g_ddraw->incutscene, scale_cutscene);
InterlockedExchange(&g_ddraw->upscale_hack_active, upscale_hack);
if (!g_ddraw->handlemouse)
{
@ -77,7 +77,7 @@ DWORD WINAPI gdi_render_main(void)
RECT rc = { 0, 0, g_ddraw->render.width, g_ddraw->render.height };
FillRect(g_ddraw->render.hdc, &rc, (HBRUSH)GetStockObject(BLACK_BRUSH));
}
else if (scale_cutscene)
else if (upscale_hack)
{
StretchDIBits(
g_ddraw->render.hdc,