RetroArch
Classes | Typedefs | Enumerations | Functions | Variables
core.h File Reference
#include <boolean.h>
#include <libretro.h>
#include <retro_common_api.h>
#include "core_type.h"
#include "input/input_defines.h"
Include dependency graph for core.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  rarch_memory_descriptor
 
struct  rarch_memory_map
 
struct  rarch_system_info
 
struct  retro_ctx_input_state_info
 
struct  retro_ctx_cheat_info
 
struct  retro_ctx_api_info
 
struct  retro_ctx_region_info
 
struct  retro_ctx_controller_info
 
struct  retro_ctx_memory_info
 
struct  retro_ctx_load_content_info
 
struct  retro_ctx_serialize_info
 
struct  retro_ctx_size_info
 
struct  retro_ctx_environ_info
 
struct  retro_callbacks
 

Typedefs

typedef struct rarch_memory_descriptor rarch_memory_descriptor_t
 
typedef struct rarch_memory_map rarch_memory_map_t
 
typedef struct rarch_system_info rarch_system_info_t
 
typedef struct retro_ctx_input_state_info retro_ctx_input_state_info_t
 
typedef struct retro_ctx_cheat_info retro_ctx_cheat_info_t
 
typedef struct retro_ctx_api_info retro_ctx_api_info_t
 
typedef struct retro_ctx_region_info retro_ctx_region_info_t
 
typedef struct retro_ctx_controller_info retro_ctx_controller_info_t
 
typedef struct retro_ctx_memory_info retro_ctx_memory_info_t
 
typedef struct retro_ctx_load_content_info retro_ctx_load_content_info_t
 
typedef struct retro_ctx_serialize_info retro_ctx_serialize_info_t
 
typedef struct retro_ctx_size_info retro_ctx_size_info_t
 
typedef struct retro_ctx_environ_info retro_ctx_environ_info_t
 
typedef struct retro_callbacks retro_callbacks_t
 

Enumerations

enum  { POLL_TYPE_EARLY = 0, POLL_TYPE_NORMAL, POLL_TYPE_LATE }
 

Functions

bool core_load (unsigned poll_type_behavior)
 
bool core_unload (void)
 
bool core_set_default_callbacks (struct retro_callbacks *cbs)
 
bool core_set_rewind_callbacks (void)
 
bool core_set_poll_type (unsigned *type)
 
bool core_run (void)
 
bool core_run_no_input_polling (void)
 
bool core_init (void)
 
bool core_deinit (void *data)
 
bool core_unload_game (void)
 
bool core_reset (void)
 
bool core_set_environment (retro_ctx_environ_info_t *info)
 
bool core_serialize_size (retro_ctx_size_info_t *info)
 
uint64_t core_serialization_quirks (void)
 
void core_set_serialization_quirks (uint64_t quirks)
 
bool core_serialize (retro_ctx_serialize_info_t *info)
 
bool core_unserialize (retro_ctx_serialize_info_t *info)
 
bool core_init_symbols (enum rarch_core_type *type)
 
bool core_set_cheat (retro_ctx_cheat_info_t *info)
 
bool core_reset_cheat (void)
 
bool core_api_version (retro_ctx_api_info_t *api)
 
bool core_verify_api_version (void)
 
bool core_get_region (retro_ctx_region_info_t *info)
 
bool core_get_memory (retro_ctx_memory_info_t *info)
 
bool core_get_system_av_info (struct retro_system_av_info *av_info)
 
bool core_get_system_info (struct retro_system_info *system)
 
bool core_load_game (retro_ctx_load_content_info_t *load_info)
 
bool core_set_controller_port_device (retro_ctx_controller_info_t *pad)
 
bool core_has_set_input_descriptor (void)
 
void core_set_input_descriptors (void)
 
void core_unset_input_descriptors (void)
 
bool core_uninit_libretro_callbacks (void)
 
void core_uninit_symbols (void)
 
void core_set_input_state (retro_ctx_input_state_info_t *info)
 
bool core_is_symbols_inited (void)
 
bool core_is_inited (void)
 
bool core_is_game_loaded (void)
 

Variables

struct retro_callbacks retro_ctx
 

Typedef Documentation

◆ rarch_memory_descriptor_t

◆ rarch_memory_map_t

◆ rarch_system_info_t

◆ retro_callbacks_t

◆ retro_ctx_api_info_t

◆ retro_ctx_cheat_info_t

◆ retro_ctx_controller_info_t

◆ retro_ctx_environ_info_t

◆ retro_ctx_input_state_info_t

◆ retro_ctx_load_content_info_t

◆ retro_ctx_memory_info_t

◆ retro_ctx_region_info_t

◆ retro_ctx_serialize_info_t

◆ retro_ctx_size_info_t

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
POLL_TYPE_EARLY 
POLL_TYPE_NORMAL 
POLL_TYPE_LATE 

Function Documentation

◆ core_api_version()

bool core_api_version ( retro_ctx_api_info_t api)
Here is the caller graph for this function:

◆ core_deinit()

bool core_deinit ( void data)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ core_get_memory()

bool core_get_memory ( retro_ctx_memory_info_t info)
Here is the caller graph for this function:

◆ core_get_region()

bool core_get_region ( retro_ctx_region_info_t info)
Here is the caller graph for this function:

◆ core_get_system_av_info()

bool core_get_system_av_info ( struct retro_system_av_info av_info)
Here is the caller graph for this function:

◆ core_get_system_info()

bool core_get_system_info ( struct retro_system_info system)
Here is the caller graph for this function:

◆ core_has_set_input_descriptor()

bool core_has_set_input_descriptor ( void  )
Here is the caller graph for this function:

◆ core_init()

bool core_init ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ core_init_symbols()

bool core_init_symbols ( enum rarch_core_type type)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ core_is_game_loaded()

bool core_is_game_loaded ( void  )
Here is the caller graph for this function:

◆ core_is_inited()

bool core_is_inited ( void  )

◆ core_is_symbols_inited()

bool core_is_symbols_inited ( void  )

◆ core_load()

bool core_load ( unsigned  poll_type_behavior)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ core_load_game()

bool core_load_game ( retro_ctx_load_content_info_t load_info)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ core_reset()

bool core_reset ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ core_reset_cheat()

bool core_reset_cheat ( void  )
Here is the caller graph for this function:

◆ core_run()

bool core_run ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ core_run_no_input_polling()

bool core_run_no_input_polling ( void  )

◆ core_serialization_quirks()

uint64_t core_serialization_quirks ( void  )
Here is the caller graph for this function:

◆ core_serialize()

bool core_serialize ( retro_ctx_serialize_info_t info)
Here is the caller graph for this function:

◆ core_serialize_size()

bool core_serialize_size ( retro_ctx_size_info_t info)
Here is the caller graph for this function:

◆ core_set_cheat()

bool core_set_cheat ( retro_ctx_cheat_info_t info)
Here is the caller graph for this function:

◆ core_set_controller_port_device()

bool core_set_controller_port_device ( retro_ctx_controller_info_t pad)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ core_set_default_callbacks()

bool core_set_default_callbacks ( struct retro_callbacks cbs)

core_set_default_callbacks: : pointer to retro_callbacks object

Binds the libretro callbacks to default callback functions.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ core_set_environment()

bool core_set_environment ( retro_ctx_environ_info_t info)
Here is the caller graph for this function:

◆ core_set_input_descriptors()

void core_set_input_descriptors ( void  )
Here is the caller graph for this function:

◆ core_set_input_state()

void core_set_input_state ( retro_ctx_input_state_info_t info)

◆ core_set_poll_type()

bool core_set_poll_type ( unsigned *  type)
Here is the caller graph for this function:

◆ core_set_rewind_callbacks()

bool core_set_rewind_callbacks ( void  )

core_set_rewind_callbacks:

Sets the audio sampling callbacks based on whether or not rewinding is currently activated.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ core_set_serialization_quirks()

void core_set_serialization_quirks ( uint64_t  quirks)
Here is the caller graph for this function:

◆ core_uninit_libretro_callbacks()

bool core_uninit_libretro_callbacks ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ core_uninit_symbols()

void core_uninit_symbols ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ core_unload()

bool core_unload ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ core_unload_game()

bool core_unload_game ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ core_unserialize()

bool core_unserialize ( retro_ctx_serialize_info_t info)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ core_unset_input_descriptors()

void core_unset_input_descriptors ( void  )
Here is the caller graph for this function:

◆ core_verify_api_version()

bool core_verify_api_version ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ retro_ctx

struct retro_callbacks retro_ctx