mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +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_EXT "/app0/sce_module/"
|
||||
|
||||
char eboot_path[512];
|
||||
char user_path[512];
|
||||
static char eboot_path[512] = {0};
|
||||
SceKernelModule s_piglet_module;
|
||||
SceKernelModule s_shacc_module;
|
||||
|
||||
@ -105,6 +104,7 @@ static void frontend_orbis_get_env(int *argc, char *argv[],
|
||||
void *args, void *params_data)
|
||||
{
|
||||
unsigned i;
|
||||
char user_path[512];
|
||||
struct rarch_main_wrap *params = NULL;
|
||||
|
||||
strlcpy(eboot_path, EBOOT_PATH, sizeof(eboot_path));
|
||||
|
@ -61,11 +61,11 @@
|
||||
#endif
|
||||
|
||||
static enum frontend_fork ps2_fork_mode = FRONTEND_FORK_NONE;
|
||||
static char cwd[FILENAME_MAX];
|
||||
static char mountString[10];
|
||||
static char mountPoint[50];
|
||||
static int hdd_mounted = 0;
|
||||
static int pfsModuleLoaded = 0;
|
||||
static char cwd[FILENAME_MAX] = {0};
|
||||
static char mountString[10] = {0};
|
||||
static char mountPoint[50] = {0};
|
||||
static int hdd_mounted = 0;
|
||||
static int pfsModuleLoaded = 0;
|
||||
|
||||
static void create_path_names(void)
|
||||
{
|
||||
|
@ -78,12 +78,11 @@ PSP_MAIN_THREAD_ATTR(THREAD_ATTR_USER|THREAD_ATTR_VFPU);
|
||||
#endif
|
||||
|
||||
#ifdef SCE_LIBC_SIZE
|
||||
unsigned int sceLibcHeapSize = SCE_LIBC_SIZE;
|
||||
unsigned int sceLibcHeapSize = SCE_LIBC_SIZE;
|
||||
#endif
|
||||
|
||||
char eboot_path[512];
|
||||
char user_path[512];
|
||||
|
||||
static char eboot_path[512] = {0};
|
||||
static char user_path[512] = {0};
|
||||
static enum frontend_fork psp_fork_mode = FRONTEND_FORK_NONE;
|
||||
|
||||
static void frontend_psp_get_env_settings(int *argc, char *argv[],
|
||||
|
Loading…
x
Reference in New Issue
Block a user