mirror of
https://github.com/holub/mame
synced 2025-05-10 16:21:42 +03:00
Fix GCC 4.3 "array bounds overflow" error. This is obviously a bug, Couriersud please take a look :)
This commit is contained in:
parent
47b3fc7984
commit
ebbd232ba3
@ -1502,7 +1502,7 @@ INLINE double dss_inverter_tf(node_description *node, double x)
|
||||
else if (x <= info->vB)
|
||||
return context->tf_tab[(int)((double)(DSS_INV_TAB_SIZE-1) * x / info->vB)];
|
||||
else
|
||||
return context->tf_tab[DSS_INV_TAB_SIZE];
|
||||
return context->tf_tab[DSS_INV_TAB_SIZE-1];
|
||||
}
|
||||
|
||||
static void dss_inverter_osc_step(node_description *node)
|
||||
|
Loading…
Reference in New Issue
Block a user