mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-06 10:58:01 +00:00
Initialize the private frame buffer at '0' to prevent a lot of
Valgrind errors in the first Smush movie of TheDig. svn-id: r4158
This commit is contained in:
parent
d1ba5f354f
commit
786f9914c9
@ -1280,7 +1280,7 @@ void Scumm::launch()
|
||||
_minHeapThreshold = 400000;
|
||||
|
||||
/* Create a primary virtual screen */
|
||||
_videoBuffer = (byte*)malloc(328*200);
|
||||
_videoBuffer = (byte*)calloc(328*200, 1);
|
||||
|
||||
allocResTypeData(rtBuffer, MKID('NONE'), 10, "buffer", 0);
|
||||
initVirtScreen(0, 0, 0, 320, 200, false, false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user