mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-04 08:16:25 +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
|
||||
#if defined(ANDROID)
|
||||
&frontend_ctx_android,
|
||||
#endif
|
||||
#if defined(PSP)
|
||||
&frontend_ctx_psp,
|
||||
#endif
|
||||
NULL // zero length array is not valid
|
||||
};
|
||||
|
@ -102,8 +102,11 @@ static void system_deinit(void *data)
|
||||
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
|
||||
char path[256];
|
||||
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_deinit, /* deinit */
|
||||
NULL, /* exitspawn */
|
||||
NULL, /* process_args */
|
||||
psp_process_args, /* process_args */
|
||||
NULL, /* process_events */
|
||||
system_exec, /* exec */
|
||||
NULL, /* exec */
|
||||
NULL, /* shutdown */
|
||||
"psp",
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user