From 08dc361f462ee7e58ece9f6b43a577a1dea02e46 Mon Sep 17 00:00:00 2001 From: mahlemiut Date: Fri, 6 Jun 2014 07:17:14 +0000 Subject: [PATCH] fmtowns: fix port 2 mouse regression (no whatsnew) --- src/mess/drivers/fmtowns.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mess/drivers/fmtowns.c b/src/mess/drivers/fmtowns.c index 38aa9beadd8..fcc1e8e2de7 100644 --- a/src/mess/drivers/fmtowns.c +++ b/src/mess/drivers/fmtowns.c @@ -1045,16 +1045,16 @@ READ8_MEMBER(towns_state::towns_padport_r) switch(m_towns_mouse_output) { case MOUSE_X_HIGH: - ret |= ((m_towns_mouse_x & 0xf0)); + ret |= ((m_towns_mouse_x & 0xf0) >> 4); break; case MOUSE_X_LOW: - ret |= ((m_towns_mouse_x & 0x0f)); + ret |= (m_towns_mouse_x & 0x0f); break; case MOUSE_Y_HIGH: - ret |= ((m_towns_mouse_y & 0xf0)); + ret |= ((m_towns_mouse_y & 0xf0) >> 4); break; case MOUSE_Y_LOW: - ret |= ((m_towns_mouse_y & 0x0f)); + ret |= (m_towns_mouse_y & 0x0f); break; case MOUSE_START: case MOUSE_SYNC: