From 49ac60767a912bff06fc55c8347cfab334caad3e Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 28 Jan 2016 04:41:54 +0100 Subject: [PATCH] Move core variable to libretro_version_1.c --- dynamic.c | 2 -- dynamic.h | 2 -- libretro_version_1.c | 2 +- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/dynamic.c b/dynamic.c index f1030494b9..216da197c1 100644 --- a/dynamic.c +++ b/dynamic.c @@ -67,10 +67,8 @@ static dylib_t lib_handle; #define SYMBOL_IMAGEVIEWER(x) current_core->x = libretro_imageviewer_##x #endif -struct retro_core_t core; static bool ignore_environment_cb; - const struct retro_subsystem_info *libretro_find_subsystem_info( const struct retro_subsystem_info *info, unsigned num_info, const char *ident) diff --git a/dynamic.h b/dynamic.h index 899ff80632..c368631c8a 100644 --- a/dynamic.h +++ b/dynamic.h @@ -151,8 +151,6 @@ struct retro_core_t size_t (*retro_get_memory_size)(unsigned); }; -extern struct retro_core_t core; - /** * init_libretro_sym: * @type : Type of core to be loaded. diff --git a/libretro_version_1.c b/libretro_version_1.c index 339658fa32..125f54d950 100644 --- a/libretro_version_1.c +++ b/libretro_version_1.c @@ -37,7 +37,7 @@ #include "netplay/netplay.h" #endif - +static struct retro_core_t core; static bool input_polled; static int16_t input_state_poll(unsigned port,