mirror of
https://github.com/holub/mame
synced 2025-06-05 12:26:35 +03:00
Removed dual input hack.
This commit is contained in:
parent
37e197e0d9
commit
8a6def8f0b
@ -60,22 +60,11 @@ READ16_MEMBER(rungun_state::rng_sysregs_r)
|
|||||||
switch (offset)
|
switch (offset)
|
||||||
{
|
{
|
||||||
case 0x00/2:
|
case 0x00/2:
|
||||||
if (ioport("DSW")->read() & 0x20)
|
return (ioport("P1")->read() | ioport("P3")->read() << 8);
|
||||||
return (ioport("P1")->read() | ioport("P3")->read() << 8);
|
|
||||||
else
|
|
||||||
{
|
|
||||||
data = ioport("P1")->read() & ioport("P3")->read();
|
|
||||||
return (data << 8 | data);
|
|
||||||
}
|
|
||||||
|
|
||||||
case 0x02/2:
|
case 0x02/2:
|
||||||
if (ioport("DSW")->read() & 0x20)
|
return (ioport("P2")->read() | ioport("P4")->read() << 8);
|
||||||
return (ioport("P2")->read() | ioport("P4")->read() << 8);
|
|
||||||
else
|
|
||||||
{
|
|
||||||
data = ioport("P2")->read() & ioport("P4")->read();
|
|
||||||
return (data << 8 | data);
|
|
||||||
}
|
|
||||||
|
|
||||||
case 0x04/2:
|
case 0x04/2:
|
||||||
/*
|
/*
|
||||||
|
@ -117,7 +117,6 @@ UINT32 rungun_state::screen_update_rng(screen_device &screen, bitmap_ind16 &bitm
|
|||||||
{
|
{
|
||||||
m_ttl_tilemap->mark_all_dirty();
|
m_ttl_tilemap->mark_all_dirty();
|
||||||
m_936_tilemap->mark_all_dirty();
|
m_936_tilemap->mark_all_dirty();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user