summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/beta.cpp
diff options
context:
space:
mode:
authorGravatarGravatar Miodrag Milanovic <mmicko@gmail.com>2016-01-10 18:51:11 +0100
committerGravatarGravatar Miodrag Milanovic <mmicko@gmail.com>2016-01-10 18:51:36 +0100
commitc678902d0b36d3274a678b35610a21fe880ed53c (patch) (github)
tree5765117b81ef85946e45f1ee1fe0c8c41ae06cad /src/mame/drivers/beta.cpp
parent74b39e26d2fffcdb6e567b06b1f20792a5239bd2 (diff)
downloadmame-c678902d0b36d3274a678b35610a21fe880ed53c.tar.bz2
mame-c678902d0b36d3274a678b35610a21fe880ed53c.zip
make output be part of driver_device (nw)
Diffstat (limited to 'src/mame/drivers/beta.cpp')
-rw-r--r--src/mame/drivers/beta.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/beta.cpp b/src/mame/drivers/beta.cpp
index 48504cb85bc..024a42d5c69 100644
--- a/src/mame/drivers/beta.cpp
+++ b/src/mame/drivers/beta.cpp
@@ -155,7 +155,7 @@ TIMER_CALLBACK_MEMBER(beta_state::led_refresh)
{
if (m_ls145_p < 6)
{
- machine().output().set_digit_value(m_ls145_p, m_segment);
+ output().set_digit_value(m_ls145_p, m_segment);
}
}
@@ -253,10 +253,10 @@ WRITE8_MEMBER( beta_state::riot_pb_w )
m_speaker->level_w(!BIT(data, 4));
/* address led */
- machine().output().set_led_value(0, BIT(data, 5));
+ output().set_led_value(0, BIT(data, 5));
/* data led */
- machine().output().set_led_value(1, !BIT(data, 5));
+ output().set_led_value(1, !BIT(data, 5));
/* EPROM address shift */
if (!BIT(m_old_data, 5) && BIT(data, 5))