mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-07 10:48:43 +00:00
GRAPHICS: Fix invalid memory write in the DotMatrix scaler
This commit is contained in:
parent
b281dc356d
commit
f590352165
@ -39,7 +39,7 @@ protected:
|
||||
uint8 *dstPtr, uint32 dstPitch, int width, int height, int x, int y) override;
|
||||
private:
|
||||
// Allocate enough for 32bpp formats
|
||||
uint32 lookup[16];
|
||||
uint32 lookup[17];
|
||||
template<typename Pixel>
|
||||
void scaleIntern(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr,
|
||||
uint32 dstPitch, int width, int height, int x, int y);
|
||||
|
Loading…
x
Reference in New Issue
Block a user