mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-25 05:34:27 +00:00
SAGA2: Initialize gPixelMap properly
This commit is contained in:
parent
7561607213
commit
34fa087b3f
@ -50,6 +50,8 @@ public:
|
||||
Extent16 size; // image size
|
||||
uint8 *data;
|
||||
|
||||
gPixelMap() : data(nullptr) {}
|
||||
|
||||
// Compute the number of bytes in the pixel map
|
||||
int32 bytes(void) {
|
||||
return size.x * size.y;
|
||||
|
Loading…
x
Reference in New Issue
Block a user