mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
(MESS) fixed uninitialized memory in src/mess/video/pc_aga.c (nw)
This commit is contained in:
parent
7b372a3503
commit
17ac07dde7
1 changed files with 1 additions and 0 deletions
|
@ -749,6 +749,7 @@ VIDEO_START( pc200 )
|
|||
aga.mda_chr_gen = machine.root_device().memregion("gfx1")->base();
|
||||
aga.cga_chr_gen = machine.root_device().memregion("gfx1")->base() + 0x1000;
|
||||
aga.videoram = auto_alloc_array(machine, UINT8, 0x10000);
|
||||
memset(aga.videoram, 0, sizeof(UINT8) * 0x10000);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue