From 739a840724772393cc34f2d5c78406902099a6a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Banaan=20Ananas?= Date: Wed, 25 Jan 2012 08:11:41 +0000 Subject: [PATCH] from Haze: flush ram with $FF --- src/mame/video/seta001.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/mame/video/seta001.c b/src/mame/video/seta001.c index 0fd86077167..20d283661a5 100644 --- a/src/mame/video/seta001.c +++ b/src/mame/video/seta001.c @@ -36,6 +36,15 @@ seta001_device::seta001_device(const machine_config &mconfig, const char *tag, d void seta001_device::device_start() { + // chukatai draws a column on the left from uninitialized RAM which causes garbage in a debug build + // if we initialize ram this is a single line in the top left instead. + // maybe there is less RAM actually present and it should mirror, or there is another flaw? + memset(m_spritectrl,0xff,4); + memset(m_spriteylow,0xff,0x300); + memset(m_spritecodelow,0xff,0x2000); + memset(m_spritecodehigh,0xff,0x2000); + + m_fg_flipxoffs = 0; m_fg_noflipxoffs = 0;