mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
(PSP) Hook up frontend platform driver - implement process_args
and not exec function
This commit is contained in:
parent
ad68ce4c91
commit
b724851e93
@ -38,6 +38,9 @@ static const frontend_ctx_driver_t *frontend_ctx_drivers[] = {
|
|||||||
#endif
|
#endif
|
||||||
#if defined(ANDROID)
|
#if defined(ANDROID)
|
||||||
&frontend_ctx_android,
|
&frontend_ctx_android,
|
||||||
|
#endif
|
||||||
|
#if defined(PSP)
|
||||||
|
&frontend_ctx_psp,
|
||||||
#endif
|
#endif
|
||||||
NULL // zero length array is not valid
|
NULL // zero length array is not valid
|
||||||
};
|
};
|
||||||
|
@ -102,8 +102,11 @@ static void system_deinit(void *data)
|
|||||||
sceKernelExitGame();
|
sceKernelExitGame();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void system_exec(const char *path, bool should_load_game)
|
static int psp_process_args(int argc, char *argv[], void *args)
|
||||||
{
|
{
|
||||||
|
(void)argc;
|
||||||
|
(void)argv;
|
||||||
|
(void)args;
|
||||||
#if 0
|
#if 0
|
||||||
char path[256];
|
char path[256];
|
||||||
snprintf(path, sizeof(path), "%s%s", default_paths.port_dir, "dkc.sfc");
|
snprintf(path, sizeof(path), "%s%s", default_paths.port_dir, "dkc.sfc");
|
||||||
@ -118,9 +121,9 @@ const frontend_ctx_driver_t frontend_ctx_psp = {
|
|||||||
system_init, /* init */
|
system_init, /* init */
|
||||||
system_deinit, /* deinit */
|
system_deinit, /* deinit */
|
||||||
NULL, /* exitspawn */
|
NULL, /* exitspawn */
|
||||||
NULL, /* process_args */
|
psp_process_args, /* process_args */
|
||||||
NULL, /* process_events */
|
NULL, /* process_events */
|
||||||
system_exec, /* exec */
|
NULL, /* exec */
|
||||||
NULL, /* shutdown */
|
NULL, /* shutdown */
|
||||||
"psp",
|
"psp",
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user