summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/suna8.cpp
diff options
context:
space:
mode:
authorGravatarGravatar wilbertpol <wilbertpol@users.noreply.github.com>2018-05-26 21:45:32 +0200
committerGravatarGravatar Vas Crabb <cuavas@users.noreply.github.com>2018-05-27 05:45:32 +1000
commit5291d140218339dff4fa471b1f8f1cfab3eb3fa1 (patch) (github)
tree76f2dd83bacede1d04ecfcd12135d7ad7245479f /src/mame/drivers/suna8.cpp
parentc6e63ee748b64eb971e7091ea19848cc55f4d8b5 (diff)
downloadmame-5291d140218339dff4fa471b1f8f1cfab3eb3fa1.tar.bz2
mame-5291d140218339dff4fa471b1f8f1cfab3eb3fa1.zip
use plural names for output finders when there are multiple outputs (#3595)
* use plural names for output finders when there are multiple outputs (nw) * use plural names for output finders when there are multiple outputs (nw) * use plural names for output finders when there are multiple outputs (nw)
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);