summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/seta2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/seta2.cpp')
-rw-r--r--src/mame/drivers/seta2.cpp60
1 files changed, 30 insertions, 30 deletions
diff --git a/src/mame/drivers/seta2.cpp b/src/mame/drivers/seta2.cpp
index 02d86d8226e..c662af42f90 100644
--- a/src/mame/drivers/seta2.cpp
+++ b/src/mame/drivers/seta2.cpp
@@ -429,13 +429,13 @@ WRITE16_MEMBER(seta2_state::reelquak_leds_w)
{
if (ACCESSING_BITS_0_7)
{
- m_led[0] = BIT(data, 0); // start
- m_led[1] = BIT(data, 1); // small
- m_led[2] = BIT(data, 2); // bet
- m_led[3] = BIT(data, 3); // big
- m_led[4] = BIT(data, 4); // double up
- m_led[5] = BIT(data, 5); // collect
- m_led[6] = BIT(data, 6); // bet cancel
+ m_leds[0] = BIT(data, 0); // start
+ m_leds[1] = BIT(data, 1); // small
+ m_leds[2] = BIT(data, 2); // bet
+ m_leds[3] = BIT(data, 3); // big
+ m_leds[4] = BIT(data, 4); // double up
+ m_leds[5] = BIT(data, 5); // collect
+ m_leds[6] = BIT(data, 6); // bet cancel
}
if (ACCESSING_BITS_8_15)
{
@@ -557,9 +557,9 @@ WRITE16_MEMBER(staraudi_state::staraudi_lamps1_w)
COMBINE_DATA(&m_lamps1);
if (ACCESSING_BITS_0_7)
{
- m_led[0] = BIT(data, 0); // Lamp 1 |
- m_led[1] = BIT(data, 1); // Lamp 2 |- Camera Lamps
- m_led[2] = BIT(data, 2); // Lamp 3 |
+ m_leds[0] = BIT(data, 0); // Lamp 1 |
+ m_leds[1] = BIT(data, 1); // Lamp 2 |- Camera Lamps
+ m_leds[2] = BIT(data, 2); // Lamp 3 |
// data & 0x0008 ); // Degauss
}
staraudi_debug_outputs();
@@ -571,8 +571,8 @@ WRITE16_MEMBER(staraudi_state::staraudi_lamps2_w)
if (ACCESSING_BITS_0_7)
{
// data & 0x0020 ); // ? Always On
- m_led[3] = BIT(data, 6); // 2P Switch Lamp
- m_led[4] = BIT(data, 7); // 1P Switch Lamp
+ m_leds[3] = BIT(data, 6); // 2P Switch Lamp
+ m_leds[4] = BIT(data, 7); // 1P Switch Lamp
}
staraudi_debug_outputs();
}
@@ -652,14 +652,14 @@ WRITE16_MEMBER(seta2_state::telpacfl_lamp1_w)
{
if (ACCESSING_BITS_0_7)
{
- m_lamp[0] = BIT(data, 0); //
- m_lamp[1] = BIT(data, 1); //
- m_lamp[2] = BIT(data, 2); //
- m_lamp[3] = BIT(data, 3); //
- m_lamp[4] = BIT(data, 4); //
- m_lamp[5] = BIT(data, 5); //
- m_lamp[6] = BIT(data, 6); //
- m_lamp[7] = BIT(data, 7); //
+ m_lamps[0] = BIT(data, 0); //
+ m_lamps[1] = BIT(data, 1); //
+ m_lamps[2] = BIT(data, 2); //
+ m_lamps[3] = BIT(data, 3); //
+ m_lamps[4] = BIT(data, 4); //
+ m_lamps[5] = BIT(data, 5); //
+ m_lamps[6] = BIT(data, 6); //
+ m_lamps[7] = BIT(data, 7); //
}
// popmessage("LAMP1 %04X", data);
@@ -669,9 +669,9 @@ WRITE16_MEMBER(seta2_state::telpacfl_lamp2_w)
{
if (ACCESSING_BITS_0_7)
{
- m_lamp[8] = BIT(data, 0); // on/off lamp (throughout)
- m_lamp[9] = BIT(data, 1); // bet lamp
- m_lamp[10] = BIT(data, 2); // payout lamp
+ m_lamps[8] = BIT(data, 0); // on/off lamp (throughout)
+ m_lamps[9] = BIT(data, 1); // bet lamp
+ m_lamps[10] = BIT(data, 2); // payout lamp
m_dispenser->motor_w( data & 0x0008 ); // coin out motor
machine().bookkeeping().coin_counter_w(0, data & 0x0010); // coin out counter
// data & 0x0020 ); // on credit increase
@@ -994,14 +994,14 @@ WRITE16_MEMBER(funcube_state::funcube_leds_w)
{
*m_funcube_leds = data;
- m_led[0] = BIT(~data, 0); // win lamp (red)
- m_led[1] = BIT(~data, 1); // win lamp (green)
+ m_leds[0] = BIT(~data, 0); // win lamp (red)
+ m_leds[1] = BIT(~data, 1); // win lamp (green)
// Set in a moving pattern: 0111 -> 1011 -> 1101 -> 1110
- m_led[2] = BIT(~data, 4);
- m_led[3] = BIT(~data, 5);
- m_led[4] = BIT(~data, 6);
- m_led[5] = BIT(~data, 7);
+ m_leds[2] = BIT(~data, 4);
+ m_leds[3] = BIT(~data, 5);
+ m_leds[4] = BIT(~data, 6);
+ m_leds[5] = BIT(~data, 7);
funcube_debug_outputs();
}
@@ -1024,7 +1024,7 @@ WRITE16_MEMBER(funcube_state::funcube_outputs_w)
// Bit 1: high on pay out
// Bit 3: low after coining up, blinks on pay out
- m_led[6] = BIT(~data, 3);
+ m_leds[6] = BIT(~data, 3);
funcube_debug_outputs();
}