(PS3/PSP) Cleanups

This commit is contained in:
twinaphex 2016-09-08 16:18:30 +02:00
parent 2a1c93c718
commit 59363d2631
2 changed files with 6 additions and 9 deletions

View File

@ -135,9 +135,8 @@ static void frontend_ps3_get_environment_settings(int *argc, char *argv[],
#ifndef IS_SALAMANDER
if (*argc > 1 && !string_is_empty(argv[1]))
{
static char path[PATH_MAX_LENGTH];
*path = '\0';
struct rarch_main_wrap *args = (struct rarch_main_wrap*)params_data;
static char path[PATH_MAX_LENGTH] = {0};
struct rarch_main_wrap *args = (struct rarch_main_wrap*)params_data;
if (args)
{

View File

@ -182,16 +182,14 @@ static void frontend_psp_get_environment_settings(int *argc, char *argv[],
#ifndef IS_SALAMANDER
#ifdef VITA
params = (struct rarch_main_wrap*)params_data;
params = (struct rarch_main_wrap*)params_data;
params->verbose = true;
#endif
if (!string_is_empty(argv[1]))
{
static char path[PATH_MAX_LENGTH];
struct rarch_main_wrap *args = NULL;
*path = '\0';
args = (struct rarch_main_wrap*)params_data;
static char path[PATH_MAX_LENGTH] = {0};
struct rarch_main_wrap *args =
(struct rarch_main_wrap*)params_data;
if (args)
{