From 99b29738b8406fd9fa4390025725c2a7dc54fbb2 Mon Sep 17 00:00:00 2001 From: "R. Belmont" Date: Wed, 29 Oct 2008 03:42:33 +0000 Subject: [PATCH] Fix GCC 4.3 "array bounds exceeded" error in disc_flt.c. Would whoever checked this in double-check my change? I believe I got the intent of the code (which is not how it was written ;-) but I could be wrong. --This line, and those belo M disc_flt.c --- src/emu/sound/disc_flt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/emu/sound/disc_flt.c b/src/emu/sound/disc_flt.c index e8a233d68f4..c2bbb11d1f4 100644 --- a/src/emu/sound/disc_flt.c +++ b/src/emu/sound/disc_flt.c @@ -1053,8 +1053,10 @@ static void dst_rcfilter_sw_reset(node_description *node) int i; for (i = 0; i < 4; i++) + { context->vCap[i] = 0; context->exp[i] = RC_CHARGE_EXP(CD4066_ON_RES * DST_RCFILTER_SW__C(i)); + } node->output[0] = 0; }