From c1493eb579a9814c5506f4632dfec77d9ebe579f Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 21 May 2017 10:31:25 +0200 Subject: [PATCH] Cleanup --- core_impl.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/core_impl.c b/core_impl.c index a7d271d94d..6b6da31b17 100644 --- a/core_impl.c +++ b/core_impl.c @@ -91,13 +91,8 @@ void core_set_input_state(retro_ctx_input_state_info_t *info) * Initializes libretro callbacks, and binds the libretro callbacks * to default callback functions. **/ -static bool core_init_libretro_cbs(void *data) +static bool core_init_libretro_cbs(struct retro_callbacks *cbs) { - struct retro_callbacks *cbs = (struct retro_callbacks*)data; - - if (!cbs) - return false; - current_core.retro_set_video_refresh(video_driver_frame); current_core.retro_set_audio_sample(audio_driver_sample); current_core.retro_set_audio_sample_batch(audio_driver_sample_batch);