summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/oric.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-04-14 10:46:03 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-04-14 10:46:03 +0000
commitbd4514adde890b79733b63ea5bf11a5f23daf006 (patch)
tree848d70080af70e0d548658e54cb535f3f42f61bf /src/mess/machine/oric.c
parent629c98f86780ce12591ff5481dec529bccf36e8d (diff)
Removal of machine().root_device() where appropriate (nw)
Diffstat (limited to 'src/mess/machine/oric.c')
-rw-r--r--src/mess/machine/oric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/machine/oric.c b/src/mess/machine/oric.c
index 88d4166bd31..ce5c4fde484 100644
--- a/src/mess/machine/oric.c
+++ b/src/mess/machine/oric.c
@@ -1295,7 +1295,7 @@ READ8_MEMBER(oric_state::telestrat_via2_in_b_func)
/* right joystick selected? */
if (m_telestrat_via2_port_b_data & (1<<7))
{
- data &= machine().root_device().ioport("JOY1")->read();
+ data &= ioport("JOY1")->read();
}
data |= m_telestrat_via2_port_b_data & ((1<<7) | (1<<6) | (1<<5));