(audio_dsp_filter.c) Buildfix
This commit is contained in:
parent
4f889124ae
commit
1f1d58bf61
|
@ -146,12 +146,15 @@ static const dspfilter_get_implementation_t dsp_plugs_builtin[] = {
|
||||||
|
|
||||||
static bool append_plugs(rarch_dsp_filter_t *dsp, struct string_list *list)
|
static bool append_plugs(rarch_dsp_filter_t *dsp, struct string_list *list)
|
||||||
{
|
{
|
||||||
|
unsigned i;
|
||||||
dspfilter_simd_mask_t mask = retro_get_cpu_features();
|
dspfilter_simd_mask_t mask = retro_get_cpu_features();
|
||||||
|
|
||||||
(void)mask;
|
(void)mask;
|
||||||
(void)list;
|
(void)list;
|
||||||
|
(void)i;
|
||||||
|
|
||||||
#if defined(HAVE_FILTERS_BUILTIN)
|
#if defined(HAVE_FILTERS_BUILTIN)
|
||||||
|
|
||||||
dsp->plugs = (struct rarch_dsp_plug*)
|
dsp->plugs = (struct rarch_dsp_plug*)
|
||||||
calloc(ARRAY_SIZE(dsp_plugs_builtin), sizeof(*dsp->plugs));
|
calloc(ARRAY_SIZE(dsp_plugs_builtin), sizeof(*dsp->plugs));
|
||||||
if (!dsp->plugs)
|
if (!dsp->plugs)
|
||||||
|
@ -166,8 +169,6 @@ static bool append_plugs(rarch_dsp_filter_t *dsp, struct string_list *list)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
#elif defined(HAVE_DYLIB)
|
#elif defined(HAVE_DYLIB)
|
||||||
unsigned i;
|
|
||||||
|
|
||||||
for (i = 0; i < list->size; i++)
|
for (i = 0; i < list->size; i++)
|
||||||
{
|
{
|
||||||
dspfilter_get_implementation_t cb;
|
dspfilter_get_implementation_t cb;
|
||||||
|
|
Loading…
Reference in New Issue