summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/beta.cpp
diff options
context:
space:
mode:
authorGravatarGravatar Miodrag Milanovic <mmicko@gmail.com>2016-01-10 18:41:17 +0100
committerGravatarGravatar Miodrag Milanovic <mmicko@gmail.com>2016-01-10 18:41:17 +0100
commitf9f908d48bd3607f8ddf529eb6b83c2b4b0b9790 (patch)
tree5d0008d8b4e1e9eb6acda88b16c81b1883c66e06 /src/mame/drivers/beta.cpp
parent3e5ad46410db4d3b3d8bd4b4bb84c3cdce2b1bfd (diff)
downloadmame-f9f908d48bd3607f8ddf529eb6b83c2b4b0b9790.tar.xz
mame-f9f908d48bd3607f8ddf529eb6b83c2b4b0b9790.zip
modernize output_manager (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 89e0f7209d6..48504cb85bc 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)
{
- output_set_digit_value(m_ls145_p, m_segment);
+ machine().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 */
- output_set_led_value(0, BIT(data, 5));
+ machine().output().set_led_value(0, BIT(data, 5));
/* data led */
- output_set_led_value(1, !BIT(data, 5));
+ machine().output().set_led_value(1, !BIT(data, 5));
/* EPROM address shift */
if (!BIT(m_old_data, 5) && BIT(data, 5))