This commit is contained in:
twinaphex 2020-12-27 20:59:39 +01:00
parent 49e65869e2
commit 3b5bd7c63d

View File

@ -216,13 +216,15 @@ static void frontend_ps3_get_environment_settings(int *argc, char *argv[],
static void frontend_ps3_get_environment_settings(int *argc, char *argv[], static void frontend_ps3_get_environment_settings(int *argc, char *argv[],
void *args, void *params_data) void *args, void *params_data)
{ {
#ifndef IS_SALAMANDER int ret;
bool original_verbose = verbosity_is_enabled(); unsigned int get_type;
verbosity_enable(); unsigned int get_attributes;
#endif CellGameContentSize size;
char dirName[CELL_GAME_DIRNAME_SIZE] = {0};
(void)args;
#ifndef IS_SALAMANDER #ifndef IS_SALAMANDER
bool original_verbose = verbosity_is_enabled();
verbosity_enable();
#if defined(HAVE_LOGGER) #if defined(HAVE_LOGGER)
logger_init(); logger_init();
#elif defined(HAVE_FILE_LOGGER) #elif defined(HAVE_FILE_LOGGER)
@ -230,15 +232,9 @@ static void frontend_ps3_get_environment_settings(int *argc, char *argv[],
#endif #endif
#endif #endif
int ret;
unsigned int get_type;
unsigned int get_attributes;
CellGameContentSize size;
char dirName[CELL_GAME_DIRNAME_SIZE] = {0};
#ifdef HAVE_MULTIMAN #ifdef HAVE_MULTIMAN
/* not launched from external launcher, set default path */ /* not launched from external launcher, set default path */
// second param is multiMAN SELF file /* second param is multiMAN SELF file */
if ( path_is_valid(argv[2]) && *argc > 1 if ( path_is_valid(argv[2]) && *argc > 1
&& (string_is_equal(argv[2], EMULATOR_CONTENT_DIR))) && (string_is_equal(argv[2], EMULATOR_CONTENT_DIR)))
{ {