mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-01 22:42:22 +00:00
Add content_loaded callback to frontend context driver
This commit is contained in:
parent
3b2a6c9df2
commit
d3b27fd888
@ -59,12 +59,13 @@ typedef struct frontend_ctx_driver
|
||||
void (*exitspawn)(char *core_path, size_t sizeof_core_path);
|
||||
|
||||
process_args_t process_args;
|
||||
int (*process_events)(void *data);
|
||||
int (*process_events)(void *data);
|
||||
void (*exec)(const char *, bool);
|
||||
void (*set_fork)(bool exitspawn, bool start_game);
|
||||
void (*shutdown)(bool);
|
||||
void (*get_name)(char *, size_t);
|
||||
int (*get_rating)(void);
|
||||
int (*get_rating)(void);
|
||||
void (*content_loaded)(void);
|
||||
|
||||
const char *ident;
|
||||
|
||||
|
@ -893,5 +893,6 @@ const frontend_ctx_driver_t frontend_ctx_android = {
|
||||
frontend_android_shutdown, /* shutdown */
|
||||
frontend_android_get_name, /* get_name */
|
||||
frontend_android_get_rating, /* get_rating */
|
||||
NULL, /* load_content */
|
||||
"android",
|
||||
};
|
||||
|
@ -177,6 +177,10 @@ static void frontend_apple_get_environment_settings(int *argc, char *argv[],
|
||||
|
||||
extern void apple_rarch_exited(void);
|
||||
|
||||
static void frontend_apple_load_content(void)
|
||||
{
|
||||
}
|
||||
|
||||
static void frontend_apple_shutdown(bool unused)
|
||||
{
|
||||
apple_rarch_exited();
|
||||
@ -200,5 +204,6 @@ const frontend_ctx_driver_t frontend_ctx_apple = {
|
||||
frontend_apple_shutdown, /* shutdown */
|
||||
NULL, /* get_name */
|
||||
frontend_apple_get_rating, /* get_rating */
|
||||
frontend_apple_load_content, /* load_content */
|
||||
"apple",
|
||||
};
|
||||
|
@ -374,5 +374,6 @@ const frontend_ctx_driver_t frontend_ctx_gx = {
|
||||
NULL, /* shutdown */
|
||||
NULL, /* get_name */
|
||||
frontend_gx_get_rating, /* get_rating */
|
||||
NULL, /* load_content */
|
||||
"gx",
|
||||
};
|
||||
|
@ -33,5 +33,6 @@ const frontend_ctx_driver_t frontend_ctx_null = {
|
||||
NULL, /* shutdown */
|
||||
NULL, /* get_name */
|
||||
NULL, /* get_rating */
|
||||
NULL, /* load_content */
|
||||
"null",
|
||||
};
|
||||
|
@ -453,5 +453,6 @@ const frontend_ctx_driver_t frontend_ctx_ps3 = {
|
||||
NULL, /* shutdown */
|
||||
NULL, /* get_name */
|
||||
frontend_ps3_get_rating, /* get_rating */
|
||||
NULL, /* load_content */
|
||||
"ps3",
|
||||
};
|
||||
|
@ -244,5 +244,6 @@ const frontend_ctx_driver_t frontend_ctx_psp = {
|
||||
frontend_psp_shutdown, /* shutdown */
|
||||
NULL, /* get_name */
|
||||
frontend_psp_get_rating, /* get_rating */
|
||||
NULL, /* load_content */
|
||||
"psp",
|
||||
};
|
||||
|
@ -71,5 +71,6 @@ const frontend_ctx_driver_t frontend_ctx_qnx = {
|
||||
frontend_qnx_shutdown, /* shutdown */
|
||||
NULL, /* get_name */
|
||||
frontend_qnx_get_rating, /* get_rating */
|
||||
NULL, /* load_content */
|
||||
"qnx",
|
||||
};
|
||||
|
@ -345,5 +345,6 @@ const frontend_ctx_driver_t frontend_ctx_xdk = {
|
||||
NULL, /* shutdown */
|
||||
NULL, /* get_name */
|
||||
frontend_xdk_get_rating, /* get_rating */
|
||||
NULL, /* load_content */
|
||||
"xdk",
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user