mirror of
https://github.com/libretro/RetroArch
synced 2025-02-21 18:40:09 +00:00
Move definition of globals for g_data_runloop and g_runloop
out of settings.c
This commit is contained in:
parent
8c1045c1ae
commit
892e665f40
@ -32,6 +32,8 @@
|
|||||||
#include "netplay.h"
|
#include "netplay.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
struct runloop g_runloop;
|
||||||
|
|
||||||
/* Convenience macros. */
|
/* Convenience macros. */
|
||||||
#define check_oneshot_func(trigger_input) (check_is_oneshot(BIT64_GET(trigger_input, RARCH_FRAMEADVANCE), BIT64_GET(trigger_input, RARCH_REWIND)))
|
#define check_oneshot_func(trigger_input) (check_is_oneshot(BIT64_GET(trigger_input, RARCH_FRAMEADVANCE), BIT64_GET(trigger_input, RARCH_REWIND)))
|
||||||
#define check_slowmotion_func(input) (check_slowmotion(BIT64_GET(input, RARCH_SLOWMOTION)))
|
#define check_slowmotion_func(input) (check_slowmotion(BIT64_GET(input, RARCH_SLOWMOTION)))
|
||||||
|
@ -19,7 +19,11 @@
|
|||||||
#include "input/input_overlay.h"
|
#include "input/input_overlay.h"
|
||||||
#ifdef HAVE_NETWORKING
|
#ifdef HAVE_NETWORKING
|
||||||
#include "net_http.h"
|
#include "net_http.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
struct data_runloop g_data_runloop;
|
||||||
|
|
||||||
|
#ifdef HAVE_NETWORKING
|
||||||
int cb_core_updater_download(void *data_, size_t len);
|
int cb_core_updater_download(void *data_, size_t len);
|
||||||
int cb_core_updater_list(void *data_, size_t len);
|
int cb_core_updater_list(void *data_, size_t len);
|
||||||
|
|
||||||
|
@ -36,8 +36,6 @@
|
|||||||
|
|
||||||
struct settings g_settings;
|
struct settings g_settings;
|
||||||
struct global g_extern;
|
struct global g_extern;
|
||||||
struct runloop g_runloop;
|
|
||||||
struct data_runloop g_data_runloop;
|
|
||||||
struct defaults g_defaults;
|
struct defaults g_defaults;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user