summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/suna8.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/suna8.cpp')
-rw-r--r--src/mame/drivers/suna8.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/suna8.cpp b/src/mame/drivers/suna8.cpp
index ba2f772a7d8..ce6bac06856 100644
--- a/src/mame/drivers/suna8.cpp
+++ b/src/mame/drivers/suna8.cpp
@@ -708,8 +708,8 @@ WRITE8_MEMBER(suna8_state::brickzn_rombank_w)
*/
WRITE8_MEMBER(suna8_state::brickzn_leds_w)
{
- m_led[0] = BIT(data, 0);
- m_led[1] = BIT(data, 1);
+ m_leds[0] = BIT(data, 0);
+ m_leds[1] = BIT(data, 1);
machine().bookkeeping().coin_counter_w(0, data & 0x04);
logerror("CPU #0 - PC %04X: leds = %02X\n",m_maincpu->pc(),data);
@@ -922,8 +922,8 @@ WRITE8_MEMBER(suna8_state::hardhea2_flipscreen_w)
WRITE8_MEMBER(suna8_state::hardhea2_leds_w)
{
- m_led[0] = BIT(data, 0);
- m_led[1] = BIT(data, 1);
+ m_leds[0] = BIT(data, 0);
+ m_leds[1] = BIT(data, 1);
machine().bookkeeping().coin_counter_w(0, data & 0x04);
if (data & ~0x07) logerror("CPU #0 - PC %04X: unknown leds bits: %02X\n",m_maincpu->pc(),data);
}
@@ -1079,8 +1079,8 @@ WRITE8_MEMBER(suna8_state::starfigh_spritebank_w)
*/
WRITE8_MEMBER(suna8_state::starfigh_leds_w)
{
- m_led[0] = BIT(data, 0);
- m_led[1] = BIT(data, 1);
+ m_leds[0] = BIT(data, 0);
+ m_leds[1] = BIT(data, 1);
machine().bookkeeping().coin_counter_w(0, data & 0x04);
m_gfxbank = (data & 0x08) ? 4 : 0;
if (data & ~0x0f) logerror("CPU #0 - PC %04X: unknown leds bits: %02X\n",m_maincpu->pc(),data);
@@ -1194,8 +1194,8 @@ WRITE8_MEMBER(suna8_state::suna8_wram_w)
*/
WRITE8_MEMBER(suna8_state::sparkman_rombank_w)
{
- m_led[0] = BIT(data, 0);
- m_led[1] = BIT(data, 1);
+ m_leds[0] = BIT(data, 0);
+ m_leds[1] = BIT(data, 1);
if (data & ~0x03) logerror("CPU #0 - PC %04X: unknown leds bits: %02X\n",m_maincpu->pc(),data);