From b8212ec19638a8d0f8ee25ce52bb231ad6436a77 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 28 Jan 2016 06:30:12 +0100 Subject: [PATCH] Fix warning on OSX --- dynamic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dynamic.c b/dynamic.c index 216da197c1..0355c621fc 100644 --- a/dynamic.c +++ b/dynamic.c @@ -534,7 +534,7 @@ void uninit_libretro_sym(struct retro_core_t *current_core) lib_handle = NULL; #endif - memset(¤t_core, 0, sizeof(struct retro_core_t)); + memset(current_core, 0, sizeof(struct retro_core_t)); runloop_ctl(RUNLOOP_CTL_SYSTEM_INFO_FREE, NULL); camera_driver_ctl(RARCH_CAMERA_CTL_UNSET_ACTIVE, NULL);