VidHD: Fix SHIFT+PRINTSCRN for 320x200

This commit is contained in:
tomcw 2021-12-07 21:59:05 +00:00
parent 443545b0f6
commit c594d6e101

View File

@ -548,7 +548,7 @@ void Video::Video_MakeScreenShot(FILE *pFile, const VideoScreenShot_e ScreenShot
{
pSrc += GetFrameBufferWidth(); // Start on odd scanline (otherwise for 50% scanline mode get an all black image!)
uint32_t aScanLine[ 280 ];
uint32_t aScanLine[kVideoWidthIIgs / 2]; // Big enough to contain both a 280 or 320 line
uint32_t *pDst;
// 50% Half Scan Line clears every odd scanline.