mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(PS3) frontend_ps3_process_args - properly sets verbosity back to original verbosity
before returning
This commit is contained in:
parent
ef7e3c91de
commit
327be0af85
@ -326,20 +326,22 @@ static void frontend_ps3_init(void *data)
|
||||
static int frontend_ps3_process_args(int argc, char *argv[], void *args)
|
||||
{
|
||||
#ifndef IS_SALAMANDER
|
||||
int ret;
|
||||
bool original_verbose = g_extern.verbose;
|
||||
g_extern.verbose = true;
|
||||
ret = 0;
|
||||
|
||||
if (argc > 1)
|
||||
{
|
||||
RARCH_LOG("Auto-start game %s.\n", argv[1]);
|
||||
strlcpy(g_extern.fullpath, argv[1], sizeof(g_extern.fullpath));
|
||||
return 1;
|
||||
ret = 1;
|
||||
}
|
||||
|
||||
g_extern.verbose = original_verbose;
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void frontend_ps3_deinit(void *data)
|
||||
|
Loading…
x
Reference in New Issue
Block a user