summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ti99/colorbus/busmouse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ti99/colorbus/busmouse.cpp')
-rw-r--r--src/devices/bus/ti99/colorbus/busmouse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/ti99/colorbus/busmouse.cpp b/src/devices/bus/ti99/colorbus/busmouse.cpp
index 2888cbee9c0..701be4ee398 100644
--- a/src/devices/bus/ti99/colorbus/busmouse.cpp
+++ b/src/devices/bus/ti99/colorbus/busmouse.cpp
@@ -52,7 +52,7 @@ void v9938_busmouse_device::device_reset()
INPUT_CHANGED_MEMBER( v9938_busmouse_device::mouse_button_changed )
{
- const int mask((uintptr_t)param);
+ const int mask(param);
LOGMASKED(LOG_BUTTON, "Button %d: %d\n", mask, newval);
if (newval==1)
m_bstate |= mask;
@@ -63,7 +63,7 @@ INPUT_CHANGED_MEMBER( v9938_busmouse_device::mouse_button_changed )
INPUT_CHANGED_MEMBER( v9938_busmouse_device::mouse_pos_changed )
{
- const int axis((uintptr_t)param);
+ const int axis(param);
int16_t pos = (int16_t)newval;
int delta;