mirror of
https://github.com/holub/mame
synced 2025-07-01 08:18:59 +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)
|
||||
{
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user