mirror of
https://github.com/holub/mame
synced 2025-04-26 18:23:08 +03:00
fix compile on MSVC 2015 (nw)
This commit is contained in:
parent
6da7548d10
commit
b183ca3079
@ -552,8 +552,10 @@ UINT8 segas24_state::dcclub_io_r(UINT8 port)
|
|||||||
case 1:
|
case 1:
|
||||||
return m_p2->read();
|
return m_p2->read();
|
||||||
case 2:
|
case 2:
|
||||||
|
{
|
||||||
static const UINT8 pos[16] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 3, 2 };
|
static const UINT8 pos[16] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 3, 2 };
|
||||||
return(~pos[m_paddle->read()>>4] & 0x03) | 0xfc;
|
return(~pos[m_paddle->read()>>4] & 0x03) | 0xfc;
|
||||||
|
}
|
||||||
case 3:
|
case 3:
|
||||||
return 0xff;
|
return 0xff;
|
||||||
case 4:
|
case 4:
|
||||||
|
Loading…
Reference in New Issue
Block a user