mirror of
https://github.com/holub/mame
synced 2025-07-03 00:56:03 +03:00
fmtowns: fix port 2 mouse regression (no whatsnew)
This commit is contained in:
parent
5f43e14e12
commit
08dc361f46
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user