Move core variable to libretro_version_1.c
This commit is contained in:
parent
92a1de2e77
commit
49ac60767a
|
@ -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)
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue