RetroArch
Functions | Variables
platform_psp.c File Reference
#include <stdint.h>
#include <stddef.h>
#include <string.h>
#include <pspkernel.h>
#include <pspdebug.h>
#include <pspfpu.h>
#include <psppower.h>
#include <pspsdk.h>
#include <pthread.h>
#include <string/stdstring.h>
#include <boolean.h>
#include <file/file_path.h>
#include <lists/file_list.h>
#include "../frontend_driver.h"
#include "../../defaults.h"
#include "../../file_path_special.h"
#include "../../defines/psp_defines.h"
#include "../../retroarch.h"
#include "../../paths.h"
#include "../../verbosity.h"
Include dependency graph for platform_psp.c:

Functions

 PSP_MODULE_INFO ("RetroArch", 0, 1, 1)
 
 PSP_MAIN_THREAD_ATTR (THREAD_ATTR_USER|THREAD_ATTR_VFPU)
 
 PSP_HEAP_SIZE_MAX ()
 
static void frontend_psp_get_environment_settings (int *argc, char *argv[], void *args, void *params_data)
 
static void frontend_psp_deinit (void *data)
 
static void frontend_psp_shutdown (bool unused)
 
static int exit_callback (int arg1, int arg2, void *common)
 
static int callback_thread (SceSize args, void *argp)
 
static int setup_callback (void)
 
static void frontend_psp_init (void *data)
 
static void frontend_psp_exec (const char *path, bool should_load_game)
 
static bool frontend_psp_set_fork (enum frontend_fork fork_mode)
 
static void frontend_psp_exitspawn (char *s, size_t len)
 
static int frontend_psp_get_rating (void)
 
static enum frontend_powerstate frontend_psp_get_powerstate (int *seconds, int *percent)
 
enum frontend_architecture frontend_psp_get_architecture (void)
 
static int frontend_psp_parse_drive_list (void *data, bool load_content)
 

Variables

char eboot_path [512]
 
char user_path [512]
 
static enum frontend_fork psp_fork_mode = FRONTEND_FORK_NONE
 
frontend_ctx_driver_t frontend_ctx_psp
 

Function Documentation

◆ callback_thread()

static int callback_thread ( SceSize  args,
void argp 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ exit_callback()

static int exit_callback ( int  arg1,
int  arg2,
void common 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_psp_deinit()

static void frontend_psp_deinit ( void data)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_psp_exec()

static void frontend_psp_exec ( const char *  path,
bool  should_load_game 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_psp_exitspawn()

static void frontend_psp_exitspawn ( char *  s,
size_t  len 
)
static
Here is the call graph for this function:

◆ frontend_psp_get_architecture()

enum frontend_architecture frontend_psp_get_architecture ( void  )

◆ frontend_psp_get_environment_settings()

static void frontend_psp_get_environment_settings ( int *  argc,
char *  argv[],
void args,
void params_data 
)
static
Here is the call graph for this function:

◆ frontend_psp_get_powerstate()

static enum frontend_powerstate frontend_psp_get_powerstate ( int *  seconds,
int *  percent 
)
static

◆ frontend_psp_get_rating()

static int frontend_psp_get_rating ( void  )
static

◆ frontend_psp_init()

static void frontend_psp_init ( void data)
static
Here is the call graph for this function:

◆ frontend_psp_parse_drive_list()

static int frontend_psp_parse_drive_list ( void data,
bool  load_content 
)
static
Here is the call graph for this function:

◆ frontend_psp_set_fork()

static bool frontend_psp_set_fork ( enum frontend_fork  fork_mode)
static
Here is the call graph for this function:

◆ frontend_psp_shutdown()

static void frontend_psp_shutdown ( bool  unused)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ PSP_HEAP_SIZE_MAX()

PSP_HEAP_SIZE_MAX ( )

◆ PSP_MAIN_THREAD_ATTR()

PSP_MAIN_THREAD_ATTR ( THREAD_ATTR_USER|  THREAD_ATTR_VFPU)

◆ PSP_MODULE_INFO()

PSP_MODULE_INFO ( "RetroArch"  ,
,
,
 
)

◆ setup_callback()

static int setup_callback ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ eboot_path

char eboot_path[512]

◆ frontend_ctx_psp

frontend_ctx_driver_t frontend_ctx_psp

◆ psp_fork_mode

enum frontend_fork psp_fork_mode = FRONTEND_FORK_NONE
static

◆ user_path

char user_path[512]