From c0ded3da979f1b7960a25e7e6d63efd6824f8bdb Mon Sep 17 00:00:00 2001 From: Fabio Priuli Date: Sun, 27 Dec 2009 22:02:49 +0000 Subject: [PATCH] Fix for MT03608: scontra, scontraj: Tile/graphic corruption on multiple launches of Super Contra k052109 ram needs to be inited to zero --- src/mame/video/konicdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/video/konicdev.c b/src/mame/video/konicdev.c index e4223b6662b..a531a506c05 100644 --- a/src/mame/video/konicdev.c +++ b/src/mame/video/konicdev.c @@ -2677,7 +2677,7 @@ static DEVICE_START( k052109 ) k052109->tilemap[1] = tilemap_create_device(device, k052109_get_tile_info1, tilemap_scan_rows, 8, 8, 64, 32); k052109->tilemap[2] = tilemap_create_device(device, k052109_get_tile_info2, tilemap_scan_rows, 8, 8, 64, 32); - k052109->ram = auto_alloc_array(machine, UINT8, 0x6000); + k052109->ram = auto_alloc_array_clear(machine, UINT8, 0x6000); k052109->colorram_F = &k052109->ram[0x0000]; k052109->colorram_A = &k052109->ram[0x0800];