Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dosbox-staging/dosbox-staging.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeralChild64 <unknown>2022-11-01 19:44:55 +0300
committerkcgen <1557255+kcgen@users.noreply.github.com>2022-11-03 16:02:58 +0300
commit92162d5fd08e34074ba57526a15c3dc44d0c76f2 (patch)
tree630fec7ad4e0472f887c39424b8d1c14e007e6f5
parentf8239fc92125dff3c749b085502678bb16ee4807 (diff)
Fix a bug preventing rescanning for new mice
-rw-r--r--src/hardware/mouse/mouse_manymouse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hardware/mouse/mouse_manymouse.cpp b/src/hardware/mouse/mouse_manymouse.cpp
index 2a1b8a0fa..b4c736b3e 100644
--- a/src/hardware/mouse/mouse_manymouse.cpp
+++ b/src/hardware/mouse/mouse_manymouse.cpp
@@ -342,7 +342,7 @@ void ManyMouseGlue::MapFinalize()
PIC_RemoveEvents(manymouse_tick);
is_mapping_in_effect = false;
for (const auto &entry : mouse_info.physical) {
- if (entry.IsMapped())
+ if (!entry.IsMapped())
continue;
is_mapping_in_effect = true;