This commit is contained in:
twinaphex 2016-01-24 01:59:43 +01:00
parent 1745e71088
commit a56f4ba298

View File

@ -78,13 +78,13 @@ void retro_uninit_libretro_cbs(void)
void retro_init_libretro_cbs(void *data)
{
struct retro_callbacks *cbs = (struct retro_callbacks*)data;
#ifdef HAVE_NETPLAY
global_t *global = global_get_ptr();
#endif
if (!cbs)
return;
(void)global;
core.retro_set_video_refresh(video_driver_frame);
core.retro_set_audio_sample(audio_driver_sample);
core.retro_set_audio_sample_batch(audio_driver_sample_batch);