fmtowns: fix port 2 mouse regression (no whatsnew)

This commit is contained in:
mahlemiut 2014-06-06 07:17:14 +00:00
parent 5f43e14e12
commit 08dc361f46

View File

@ -1045,16 +1045,16 @@ READ8_MEMBER(towns_state::towns_padport_r)
switch(m_towns_mouse_output) switch(m_towns_mouse_output)
{ {
case MOUSE_X_HIGH: case MOUSE_X_HIGH:
ret |= ((m_towns_mouse_x & 0xf0)); ret |= ((m_towns_mouse_x & 0xf0) >> 4);
break; break;
case MOUSE_X_LOW: case MOUSE_X_LOW:
ret |= ((m_towns_mouse_x & 0x0f)); ret |= (m_towns_mouse_x & 0x0f);
break; break;
case MOUSE_Y_HIGH: case MOUSE_Y_HIGH:
ret |= ((m_towns_mouse_y & 0xf0)); ret |= ((m_towns_mouse_y & 0xf0) >> 4);
break; break;
case MOUSE_Y_LOW: case MOUSE_Y_LOW:
ret |= ((m_towns_mouse_y & 0x0f)); ret |= (m_towns_mouse_y & 0x0f);
break; break;
case MOUSE_START: case MOUSE_START:
case MOUSE_SYNC: case MOUSE_SYNC: