Move core variable to libretro_version_1.c

This commit is contained in:
twinaphex 2016-01-28 04:41:54 +01:00
parent 92a1de2e77
commit 49ac60767a
3 changed files with 1 additions and 5 deletions

View File

@ -67,10 +67,8 @@ static dylib_t lib_handle;
#define SYMBOL_IMAGEVIEWER(x) current_core->x = libretro_imageviewer_##x #define SYMBOL_IMAGEVIEWER(x) current_core->x = libretro_imageviewer_##x
#endif #endif
struct retro_core_t core;
static bool ignore_environment_cb; static bool ignore_environment_cb;
const struct retro_subsystem_info *libretro_find_subsystem_info( const struct retro_subsystem_info *libretro_find_subsystem_info(
const struct retro_subsystem_info *info, unsigned num_info, const struct retro_subsystem_info *info, unsigned num_info,
const char *ident) const char *ident)

View File

@ -151,8 +151,6 @@ struct retro_core_t
size_t (*retro_get_memory_size)(unsigned); size_t (*retro_get_memory_size)(unsigned);
}; };
extern struct retro_core_t core;
/** /**
* init_libretro_sym: * init_libretro_sym:
* @type : Type of core to be loaded. * @type : Type of core to be loaded.

View File

@ -37,7 +37,7 @@
#include "netplay/netplay.h" #include "netplay/netplay.h"
#endif #endif
static struct retro_core_t core;
static bool input_polled; static bool input_polled;
static int16_t input_state_poll(unsigned port, static int16_t input_state_poll(unsigned port,