mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 17:43:02 +00:00
Turn some variables static
This commit is contained in:
parent
5705ff95cb
commit
03a2f10117
@ -81,8 +81,7 @@
|
|||||||
#define MODULE_PATH "/data/self/system/common/lib/"
|
#define MODULE_PATH "/data/self/system/common/lib/"
|
||||||
#define MODULE_PATH_EXT "/app0/sce_module/"
|
#define MODULE_PATH_EXT "/app0/sce_module/"
|
||||||
|
|
||||||
char eboot_path[512];
|
static char eboot_path[512] = {0};
|
||||||
char user_path[512];
|
|
||||||
SceKernelModule s_piglet_module;
|
SceKernelModule s_piglet_module;
|
||||||
SceKernelModule s_shacc_module;
|
SceKernelModule s_shacc_module;
|
||||||
|
|
||||||
@ -105,6 +104,7 @@ static void frontend_orbis_get_env(int *argc, char *argv[],
|
|||||||
void *args, void *params_data)
|
void *args, void *params_data)
|
||||||
{
|
{
|
||||||
unsigned i;
|
unsigned i;
|
||||||
|
char user_path[512];
|
||||||
struct rarch_main_wrap *params = NULL;
|
struct rarch_main_wrap *params = NULL;
|
||||||
|
|
||||||
strlcpy(eboot_path, EBOOT_PATH, sizeof(eboot_path));
|
strlcpy(eboot_path, EBOOT_PATH, sizeof(eboot_path));
|
||||||
|
@ -61,11 +61,11 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
static enum frontend_fork ps2_fork_mode = FRONTEND_FORK_NONE;
|
static enum frontend_fork ps2_fork_mode = FRONTEND_FORK_NONE;
|
||||||
static char cwd[FILENAME_MAX];
|
static char cwd[FILENAME_MAX] = {0};
|
||||||
static char mountString[10];
|
static char mountString[10] = {0};
|
||||||
static char mountPoint[50];
|
static char mountPoint[50] = {0};
|
||||||
static int hdd_mounted = 0;
|
static int hdd_mounted = 0;
|
||||||
static int pfsModuleLoaded = 0;
|
static int pfsModuleLoaded = 0;
|
||||||
|
|
||||||
static void create_path_names(void)
|
static void create_path_names(void)
|
||||||
{
|
{
|
||||||
|
@ -78,12 +78,11 @@ PSP_MAIN_THREAD_ATTR(THREAD_ATTR_USER|THREAD_ATTR_VFPU);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef SCE_LIBC_SIZE
|
#ifdef SCE_LIBC_SIZE
|
||||||
unsigned int sceLibcHeapSize = SCE_LIBC_SIZE;
|
unsigned int sceLibcHeapSize = SCE_LIBC_SIZE;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
char eboot_path[512];
|
static char eboot_path[512] = {0};
|
||||||
char user_path[512];
|
static char user_path[512] = {0};
|
||||||
|
|
||||||
static enum frontend_fork psp_fork_mode = FRONTEND_FORK_NONE;
|
static enum frontend_fork psp_fork_mode = FRONTEND_FORK_NONE;
|
||||||
|
|
||||||
static void frontend_psp_get_env_settings(int *argc, char *argv[],
|
static void frontend_psp_get_env_settings(int *argc, char *argv[],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user