mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Cleanup rarch_deinit_dsp_filter
This commit is contained in:
parent
40a1dc4eab
commit
8a77674efc
5
driver.c
5
driver.c
@ -1025,11 +1025,10 @@ error:
|
||||
|
||||
void rarch_deinit_dsp_filter(void)
|
||||
{
|
||||
if (g_extern.audio_data.dsp_lib && g_extern.audio_data.dsp_plugin)
|
||||
{
|
||||
if (g_extern.audio_data.dsp_plugin && g_extern.audio_data.dsp_plugin->free)
|
||||
g_extern.audio_data.dsp_plugin->free(g_extern.audio_data.dsp_handle);
|
||||
if (g_extern.audio_data.dsp_lib)
|
||||
dylib_close(g_extern.audio_data.dsp_lib);
|
||||
}
|
||||
g_extern.audio_data.dsp_handle = NULL;
|
||||
g_extern.audio_data.dsp_plugin = NULL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user