mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
Header include cleanups
This commit is contained in:
parent
0083e10926
commit
4f53e14f4f
@ -496,8 +496,9 @@ bool libretro_get_system_info(const char *path,
|
||||
* Setup libretro callback symbols. Returns true on success,
|
||||
* or false if symbols could not be loaded.
|
||||
**/
|
||||
bool init_libretro_sym_custom(enum rarch_core_type type, struct retro_core_t *current_core, const char *lib_path, dylib_t *lib_handle_p)
|
||||
bool init_libretro_sym_custom(enum rarch_core_type type, struct retro_core_t *current_core, const char *lib_path, void *_lib_handle_p)
|
||||
{
|
||||
dylib_t *lib_handle_p = (dylib_t*)_lib_handle_p;
|
||||
#ifdef HAVE_DYNAMIC
|
||||
/* the library handle for use with the SYMBOL macro */
|
||||
dylib_t lib_handle_local;
|
||||
|
@ -20,7 +20,6 @@
|
||||
#include <boolean.h>
|
||||
#include <retro_common_api.h>
|
||||
#include <libretro.h>
|
||||
#include <dynamic/dylib.h>
|
||||
|
||||
#include "core_type.h"
|
||||
|
||||
@ -133,7 +132,7 @@ bool libretro_get_shared_context(void);
|
||||
bool init_libretro_sym(enum rarch_core_type type,
|
||||
struct retro_core_t *core);
|
||||
|
||||
bool init_libretro_sym_custom(enum rarch_core_type type, struct retro_core_t *current_core, const char *lib_path, dylib_t *lib_handle_p);
|
||||
bool init_libretro_sym_custom(enum rarch_core_type type, struct retro_core_t *current_core, const char *lib_path, void *lib_handle_p);
|
||||
|
||||
/**
|
||||
* uninit_libretro_sym:
|
||||
|
@ -1,6 +1,7 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <boolean.h>
|
||||
#include <dynamic/dylib.h>
|
||||
|
||||
#include "../core.h"
|
||||
#include "../dynamic.h"
|
||||
@ -98,9 +99,7 @@ static void input_state_set_last(unsigned port, unsigned device,
|
||||
)
|
||||
{
|
||||
if (id >= element->state_size)
|
||||
{
|
||||
InputListElementExpand(element, id);
|
||||
}
|
||||
element->state[id] = value;
|
||||
return;
|
||||
}
|
||||
|
@ -4,6 +4,7 @@
|
||||
#include <stddef.h>
|
||||
#include <boolean.h>
|
||||
#include <retro_common_api.h>
|
||||
#include <dynamic/dylib.h>
|
||||
|
||||
RETRO_BEGIN_DECLS
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user