Fix warning on OSX

This commit is contained in:
twinaphex 2016-01-28 06:30:12 +01:00
parent 3eb71faf64
commit b8212ec196

View File

@ -534,7 +534,7 @@ void uninit_libretro_sym(struct retro_core_t *current_core)
lib_handle = NULL;
#endif
memset(&current_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);