summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/psychic5.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/psychic5.c')
-rw-r--r--src/mame/video/psychic5.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/video/psychic5.c b/src/mame/video/psychic5.c
index 60ac0e209ab..a19c2686375 100644
--- a/src/mame/video/psychic5.c
+++ b/src/mame/video/psychic5.c
@@ -110,11 +110,11 @@ READ8_MEMBER(psychic5_state::psychic5_paged_ram_r)
{
switch (offset)
{
- case 0x00: return input_port_read(machine(), "SYSTEM");
- case 0x01: return input_port_read(machine(), "P1");
- case 0x02: return input_port_read(machine(), "P2");
- case 0x03: return input_port_read(machine(), "DSW1");
- case 0x04: return input_port_read(machine(), "DSW2");
+ case 0x00: return ioport("SYSTEM")->read();
+ case 0x01: return ioport("P1")->read();
+ case 0x02: return ioport("P2")->read();
+ case 0x03: return ioport("DSW1")->read();
+ case 0x04: return ioport("DSW2")->read();
}
}