mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
Fix non-HAVE_DYNAMIC cores
This commit is contained in:
parent
a7e6df69c8
commit
3b5fbeb269
@ -92,6 +92,8 @@ unsigned (*pretro_get_region)(void);
|
|||||||
void *(*pretro_get_memory_data)(unsigned);
|
void *(*pretro_get_memory_data)(unsigned);
|
||||||
size_t (*pretro_get_memory_size)(unsigned);
|
size_t (*pretro_get_memory_size)(unsigned);
|
||||||
|
|
||||||
|
static bool ignore_environment_cb;
|
||||||
|
|
||||||
#ifdef HAVE_DYNAMIC
|
#ifdef HAVE_DYNAMIC
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
#define DYNAMIC_EXT "dylib"
|
#define DYNAMIC_EXT "dylib"
|
||||||
@ -102,7 +104,6 @@ size_t (*pretro_get_memory_size)(unsigned);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
static bool *load_no_content_hook;
|
static bool *load_no_content_hook;
|
||||||
static bool ignore_environment_cb;
|
|
||||||
|
|
||||||
static bool environ_cb_get_system_info(unsigned cmd, void *data)
|
static bool environ_cb_get_system_info(unsigned cmd, void *data)
|
||||||
{
|
{
|
||||||
@ -1061,7 +1062,6 @@ bool rarch_environment_cb(unsigned cmd, void *data)
|
|||||||
*g_extern.fullpath = '\0';
|
*g_extern.fullpath = '\0';
|
||||||
|
|
||||||
#if defined(RARCH_CONSOLE)
|
#if defined(RARCH_CONSOLE)
|
||||||
rarch_main_set_state(RARCH_ACTION_STATE_RUNNING_FINISHED);
|
|
||||||
rarch_main_set_state(RARCH_ACTION_STATE_EXITSPAWN);
|
rarch_main_set_state(RARCH_ACTION_STATE_EXITSPAWN);
|
||||||
g_extern.lifecycle_state |= (1ULL << MODE_EXITSPAWN_START_GAME);
|
g_extern.lifecycle_state |= (1ULL << MODE_EXITSPAWN_START_GAME);
|
||||||
#elif defined(HAVE_DYNAMIC)
|
#elif defined(HAVE_DYNAMIC)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user