Fix Input::remove_joy_mapping

Erasing a joypad mapping can invalidate other attached joypads and the fallback mapping guid
This commit is contained in:
MJacred
2024-12-15 13:39:29 +01:00
parent 4364ed6ccd
commit 40832387ce
3 changed files with 31 additions and 3 deletions

View File

@ -184,7 +184,7 @@ private:
HashSet<uint32_t> ignored_device_ids;
int fallback_mapping = -1;
int fallback_mapping = -1; // Index of the guid in map_db.
CursorShape default_shape = CURSOR_ARROW;