mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 10:42:36 +01:00
input: fix dynamic pad handler mode reset
This commit is contained in:
parent
e0baad417a
commit
6532d2b650
@ -325,7 +325,8 @@ void pad_thread::operator()()
|
||||
|
||||
// Update variables
|
||||
const bool needs_reset = pad::g_reset && pad::g_reset.exchange(false);
|
||||
mode_changed |= pad_mode != pad_mode.exchange(g_cfg.io.pad_mode.get());
|
||||
const pad_handler_mode new_pad_mode = g_cfg.io.pad_mode.get();
|
||||
mode_changed |= new_pad_mode != pad_mode.exchange(new_pad_mode);
|
||||
|
||||
// Reset pad handlers if necessary
|
||||
if (needs_reset || mode_changed)
|
||||
|
Loading…
Reference in New Issue
Block a user