diff options
author | R. Belmont <rb6502@users.noreply.github.com> | 2008-10-29 03:42:33 +0000 |
---|---|---|
committer | R. Belmont <rb6502@users.noreply.github.com> | 2008-10-29 03:42:33 +0000 |
commit | 99b29738b8406fd9fa4390025725c2a7dc54fbb2 (patch) | |
tree | 03e2c13e33ab12460e79c999532bfc5d3a1dc25f | |
parent | 31ee705dbae8ce6db0773dad46eb476279e76d25 (diff) |
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
-rw-r--r-- | src/emu/sound/disc_flt.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |