mirror of
https://github.com/holub/mame
synced 2025-04-25 09:50:04 +03:00
(MESS) fixed uninitialized memory in src/mess/video/gf4500.c (nw)
This commit is contained in:
parent
cf640b0dd8
commit
8121ff789f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user