diff options
author | 2022-06-16 03:32:46 +1000 | |
---|---|---|
committer | 2022-06-16 03:32:46 +1000 | |
commit | 1964365f34499ae5785c7b8f13836caa05156dfa (patch) | |
tree | 15ce654e3170c3509db1fddbb9b70a194f77cb46 /src/osd/modules/input/input_dinput.cpp | |
parent | d345b7ec2ccf3c9a958bddd3906a202e42a88809 (diff) |
Optimisation, and baby steps towards untangling stuff:
Optimised the scheduler's handling of unscheduled timers - gives a 50%
performance improvement in some timer-heavy drivers.
Added better endianness swizzling helpers.
Got rid of some of the OSD input modules' dependence on concrete input
classes from emu.
Diffstat (limited to 'src/osd/modules/input/input_dinput.cpp')
-rw-r--r-- | src/osd/modules/input/input_dinput.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/osd/modules/input/input_dinput.cpp b/src/osd/modules/input/input_dinput.cpp index fa273e5fdb1..77467f80d59 100644 --- a/src/osd/modules/input/input_dinput.cpp +++ b/src/osd/modules/input/input_dinput.cpp @@ -389,9 +389,9 @@ void dinput_mouse_device::poll() dinput_device::poll_dinput(&mouse); // scale the axis data - mouse.lX *= INPUT_RELATIVE_PER_PIXEL; - mouse.lY *= INPUT_RELATIVE_PER_PIXEL; - mouse.lZ *= INPUT_RELATIVE_PER_PIXEL; + mouse.lX *= osd::INPUT_RELATIVE_PER_PIXEL; + mouse.lY *= osd::INPUT_RELATIVE_PER_PIXEL; + mouse.lZ *= osd::INPUT_RELATIVE_PER_PIXEL; } void dinput_mouse_device::reset() |