Skip to content

Commit 67b5da6

Browse files
authored
Update retroarch.c with kiosk mode fix
Changed string check to function string_is_empty for PS4 compliance!
1 parent 3315e96 commit 67b5da6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

retroarch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3465,7 +3465,7 @@ bool command_event(enum event_command cmd, void *data)
34653465
/* Kiosk Mode Fix */
34663466
case CMD_EVENT_KIOSK:
34673467
/* If were already in Kiosk Mode, ask for the Password! */
3468-
if (settings->bools.kiosk_mode_enable && settings->paths.kiosk_mode_password != "")
3468+
if (settings->bools.kiosk_mode_enable && !string_is_empty(settings->paths.kiosk_mode_password))
34693469
{
34703470
menu_input_ctx_line_t line;
34713471
line.label = msg_hash_to_str(MENU_ENUM_LABEL_VALUE_MENU_KIOSK_MODE_PASSWORD);

0 commit comments

Comments
 (0)