support upscale hack for KKND Xtreme high resolution patch (vhack=true)
This commit is contained in:
parent
d1d9b1f972
commit
39c62d6e7d
10 changed files with 47 additions and 22 deletions
|
@ -36,6 +36,9 @@ HRESULT dds_Blt(IDirectDrawSurfaceImpl *This, LPRECT lpDestRect, LPDIRECTDRAWSUR
|
|||
|
||||
dbg_dump_dds_blt_flags(dwFlags);
|
||||
|
||||
if (g_ddraw->iskkndx && (dwFlags & DDBLT_COLORFILL) && lpDestRect && lpDestRect->right == 640 && lpDestRect->bottom == 480)
|
||||
lpDestRect = NULL;
|
||||
|
||||
RECT src_rect = { 0, 0, src_surface ? src_surface->width : 0, src_surface ? src_surface->height : 0 };
|
||||
RECT dst_rect = { 0, 0, This->width, This->height };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue