mirror of
https://github.com/libretro/RetroArch
synced 2025-03-23 01:21:47 +00:00
Should fixup input.
This commit is contained in:
parent
4935333b63
commit
fc43e7155e
4
driver.c
4
driver.c
@ -167,7 +167,6 @@ void uninit_drivers(void)
|
||||
#ifdef HAVE_DYLIB
|
||||
static void init_dsp_plugin(void)
|
||||
{
|
||||
#ifdef HAVE_DYLIB
|
||||
if (!(*g_settings.audio.dsp_plugin))
|
||||
return;
|
||||
|
||||
@ -220,18 +219,15 @@ error:
|
||||
dylib_close(g_extern.audio_data.dsp_lib);
|
||||
g_extern.audio_data.dsp_plugin = NULL;
|
||||
g_extern.audio_data.dsp_lib = NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
static void deinit_dsp_plugin(void)
|
||||
{
|
||||
#ifdef HAVE_DYLIB
|
||||
if (g_extern.audio_data.dsp_lib && g_extern.audio_data.dsp_plugin)
|
||||
{
|
||||
g_extern.audio_data.dsp_plugin->free(g_extern.audio_data.dsp_handle);
|
||||
dylib_close(g_extern.audio_data.dsp_lib);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -1362,6 +1362,9 @@ static void *gl_init(const video_info_t *video, const input_driver_t **input, vo
|
||||
return NULL;
|
||||
}
|
||||
|
||||
*input = NULL;
|
||||
*input_data = NULL;
|
||||
|
||||
return gl;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user