Start unpause restriction.

This commit is contained in:
Tatsuya79 2023-01-07 16:58:17 +01:00 committed by LibretroAdmin
parent f2c16bd8d6
commit f441821297
2 changed files with 2 additions and 2 deletions

View File

@ -2728,7 +2728,7 @@ MSG_HASH(
)
MSG_HASH(
MENU_ENUM_SUBLABEL_PAUSE_ON_DISCONNECT,
"Pause content when any controller is disconnected."
"Pause content when any controller is disconnected. Resume with Start."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_INPUT_BUTTON_AXIS_THRESHOLD,

View File

@ -7193,7 +7193,7 @@ static enum runloop_state_enum runloop_check_state(
bool pause_pressed = BIT256_GET(current_bits, RARCH_PAUSE_TOGGLE);
/* Allow unpausing with Start */
if (runloop_paused)
if (runloop_paused && settings->bools.pause_on_disconnect)
pause_pressed |= BIT256_GET(current_bits, RETRO_DEVICE_ID_JOYPAD_START);
#ifdef HAVE_CHEEVOS