(MESS) fixed uninitialized memory in src/mess/video/gf4500.c (nw)

This commit is contained in:
Oliver Stöneberg 2013-03-09 08:03:30 +00:00
parent cf640b0dd8
commit 8121ff789f

View File

@ -42,6 +42,7 @@ static struct {
static void gf4500_init( running_machine &machine)
{
gf4500.data = auto_alloc_array( machine, UINT32, 0x140000 / 4);
memset(gf4500.data, 0, sizeof(UINT32) * 0x140000 / 4);
gf4500.screen_x = gf4500.screen_y = 0;
gf4500.screen_x_max = gf4500.screen_y_max = gf4500.screen_x_min = gf4500.screen_y_min = 0;
machine.primary_screen->register_screen_bitmap(gf4500.bitmap);