From 3b5bd7c63da022e6e96bf63376572cd4a5c1271a Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 27 Dec 2020 20:59:39 +0100 Subject: [PATCH] Cleanup --- frontend/drivers/platform_ps3.c | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/frontend/drivers/platform_ps3.c b/frontend/drivers/platform_ps3.c index 872d3a7e35..587235dfb2 100644 --- a/frontend/drivers/platform_ps3.c +++ b/frontend/drivers/platform_ps3.c @@ -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[], void *args, void *params_data) { -#ifndef IS_SALAMANDER - bool original_verbose = verbosity_is_enabled(); - verbosity_enable(); -#endif + int ret; + unsigned int get_type; + unsigned int get_attributes; + CellGameContentSize size; + char dirName[CELL_GAME_DIRNAME_SIZE] = {0}; - (void)args; #ifndef IS_SALAMANDER + bool original_verbose = verbosity_is_enabled(); + verbosity_enable(); #if defined(HAVE_LOGGER) logger_init(); #elif defined(HAVE_FILE_LOGGER) @@ -230,15 +232,9 @@ static void frontend_ps3_get_environment_settings(int *argc, char *argv[], #endif #endif - int ret; - unsigned int get_type; - unsigned int get_attributes; - CellGameContentSize size; - char dirName[CELL_GAME_DIRNAME_SIZE] = {0}; - #ifdef HAVE_MULTIMAN /* 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 && (string_is_equal(argv[2], EMULATOR_CONTENT_DIR))) {