From 5d6aac7016a54d9317a22f5a78ee7136ccb83109 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Thu, 12 Sep 2013 15:21:41 +0000 Subject: [PATCH] =?UTF-8?q?[MT5241]=20fixed=20uninitialized=20memory=20in?= =?UTF-8?q?=20src/mame/video/k053251.c=20(fixes=20moo.c=20out=20of=20bound?= =?UTF-8?q?s=20accesses)=20[Oliver=20St=C3=B6neberg]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mame/video/k053251.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mame/video/k053251.c b/src/mame/video/k053251.c index 0021a658d72..5b5a32a4768 100644 --- a/src/mame/video/k053251.c +++ b/src/mame/video/k053251.c @@ -171,6 +171,8 @@ void k053251_device::device_reset() for (i = 0; i < 5; i++) m_dirty_tmap[i] = 0; + + reset_indexes(); } /*****************************************************************************