Previous 199869 Revisions Next

r30857 Friday 6th June, 2014 at 07:17:14 UTC by Barry Rodewald
fmtowns: fix port 2 mouse regression (no whatsnew)
[src/mess/drivers]fmtowns.c

trunk/src/mess/drivers/fmtowns.c
r30856r30857
10451045         switch(m_towns_mouse_output)
10461046         {
10471047            case MOUSE_X_HIGH:
1048               ret |= ((m_towns_mouse_x & 0xf0));
1048               ret |= ((m_towns_mouse_x & 0xf0) >> 4);
10491049               break;
10501050            case MOUSE_X_LOW:
1051               ret |= ((m_towns_mouse_x & 0x0f));
1051               ret |= (m_towns_mouse_x & 0x0f);
10521052               break;
10531053            case MOUSE_Y_HIGH:
1054               ret |= ((m_towns_mouse_y & 0xf0));
1054               ret |= ((m_towns_mouse_y & 0xf0) >> 4);
10551055               break;
10561056            case MOUSE_Y_LOW:
1057               ret |= ((m_towns_mouse_y & 0x0f));
1057               ret |= (m_towns_mouse_y & 0x0f);
10581058               break;
10591059            case MOUSE_START:
10601060            case MOUSE_SYNC:

Previous 199869 Revisions Next


© 1997-2024 The MAME Team