mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-10-12 02:09:17 +00:00
g27 settings: break loop if mapping is not in progress anymore
This commit is contained in:
@@ -327,6 +327,11 @@ public:
|
||||
|
||||
for (auto& [device_type_id, new_joystick_state] : new_joystick_states)
|
||||
{
|
||||
if (!m_mapping_in_progress)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
const auto last_joystick_state = m_last_joystick_states.find(device_type_id);
|
||||
if (last_joystick_state == m_last_joystick_states.cend())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user