summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/spoker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/spoker.cpp')
-rw-r--r--src/mame/drivers/spoker.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/drivers/spoker.cpp b/src/mame/drivers/spoker.cpp
index 26c6e4f12fa..41264a5ec3c 100644
--- a/src/mame/drivers/spoker.cpp
+++ b/src/mame/drivers/spoker.cpp
@@ -50,7 +50,7 @@ public:
m_bg_tile_ram(*this, "bg_tile_ram"),
m_fg_tile_ram(*this, "fg_tile_ram"),
m_fg_color_ram(*this, "fg_color_ram"),
- m_led(*this, "led%u", 0U)
+ m_leds(*this, "led%u", 0U)
{ }
required_device<cpu_device> m_maincpu;
@@ -65,7 +65,7 @@ public:
required_shared_ptr<uint8_t> m_fg_color_ram;
tilemap_t *m_fg_tilemap;
- output_finder<7> m_led;
+ output_finder<7> m_leds;
// common
int m_nmi_ack;
@@ -189,7 +189,7 @@ WRITE8_MEMBER(spoker_state::nmi_and_coins_w)
machine().bookkeeping().coin_counter_w(2, data & 0x08); // key in
machine().bookkeeping().coin_counter_w(3, data & 0x10); // coin out mech
- m_led[6] = BIT(data, 6); // led for coin out / hopper active
+ m_leds[6] = BIT(data, 6); // led for coin out / hopper active
if(((m_nmi_ack & 0x80) == 0) && data & 0x80)
m_maincpu->set_input_line(INPUT_LINE_NMI, CLEAR_LINE);
@@ -202,8 +202,8 @@ WRITE8_MEMBER(spoker_state::nmi_and_coins_w)
WRITE8_MEMBER(spoker_state::video_and_leds_w)
{
- m_led[4] = BIT(data, 0); // start?
- m_led[5] = BIT(data, 2); // l_bet?
+ m_leds[4] = BIT(data, 0); // start?
+ m_leds[5] = BIT(data, 2); // l_bet?
m_video_enable = data & 0x40;
m_hopper = (~data)& 0x80;
@@ -214,10 +214,10 @@ WRITE8_MEMBER(spoker_state::video_and_leds_w)
WRITE8_MEMBER(spoker_state::leds_w)
{
- m_led[0] = BIT(data, 0); // stop_1
- m_led[1] = BIT(data, 1); // stop_2
- m_led[2] = BIT(data, 2); // stop_3
- m_led[3] = BIT(data, 3); // stop
+ m_leds[0] = BIT(data, 0); // stop_1
+ m_leds[1] = BIT(data, 1); // stop_2
+ m_leds[2] = BIT(data, 2); // stop_3
+ m_leds[3] = BIT(data, 3); // stop
// data & 0x10?
m_out[2] = data;
@@ -582,7 +582,7 @@ GFXDECODE_END
void spoker_state::machine_start()
{
- m_led.resolve();
+ m_leds.resolve();
save_item(NAME(m_nmi_ack));
save_item(NAME(m_out));