summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/gei.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/gei.cpp')
-rw-r--r--src/mame/drivers/gei.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/mame/drivers/gei.cpp b/src/mame/drivers/gei.cpp
index 017101791d4..acd73ee15a6 100644
--- a/src/mame/drivers/gei.cpp
+++ b/src/mame/drivers/gei.cpp
@@ -93,7 +93,7 @@ public:
, m_screen(*this, "screen")
, m_signature(*this, "signature")
, m_rombank(*this, "rombank")
- , m_lamp(*this, "lamp%u", 0U)
+ , m_lamps(*this, "lamp%u", 0U)
{ }
uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
@@ -140,7 +140,7 @@ public:
void sprtauth_map(address_map &map);
void suprpokr_map(address_map &map);
protected:
- virtual void machine_start() override { m_lamp.resolve(); }
+ virtual void machine_start() override { m_lamps.resolve(); }
virtual void video_start() override;
private:
@@ -160,7 +160,7 @@ private:
required_device<screen_device> m_screen;
optional_region_ptr<uint8_t> m_signature;
optional_memory_bank m_rombank;
- output_finder<13> m_lamp;
+ output_finder<13> m_lamps;
};
@@ -215,24 +215,24 @@ uint32_t gei_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, c
WRITE8_MEMBER(gei_state::lamps_w)
{
/* 5 button lamps */
- 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_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);
/* 3 button lamps for deal, cancel, stand in poker games;
lamp order verified in poker and selection self tests */
- m_lamp[7] = BIT(data, 5);
- m_lamp[5] = BIT(data, 6);
- m_lamp[6] = BIT(data, 7);
+ m_lamps[7] = BIT(data, 5);
+ m_lamps[5] = BIT(data, 6);
+ m_lamps[6] = BIT(data, 7);
}
WRITE8_MEMBER(gei_state::sound_w)
{
/* bit 3 - coin lockout, lamp10 in poker / lamp6 in trivia test modes */
machine().bookkeeping().coin_lockout_global_w(BIT(~data, 3));
- m_lamp[9] = BIT(data, 3);
+ m_lamps[9] = BIT(data, 3);
/* bit 5 - ticket out in trivia games */
if (m_ticket.found())
@@ -250,13 +250,13 @@ WRITE8_MEMBER(gei_state::sound2_w)
/* bit 3,6 - coin lockout, lamp 10 + 11 in selection test mode */
machine().bookkeeping().coin_lockout_w(0, BIT(~data, 3));
machine().bookkeeping().coin_lockout_w(1, BIT(~data, 6));
- m_lamp[9] = BIT(data, 3);
- m_lamp[10] = BIT(data, 6);
+ m_lamps[9] = BIT(data, 3);
+ m_lamps[10] = BIT(data, 6);
/* bit 4,5 - lamps 12, 13 in selection test mode;
12 lights up if dsw maximum bet = 30 an bet > 15 or if dsw maximum bet = 10 an bet = 10 */
- m_lamp[11] = BIT(data, 4);
- m_lamp[12] = BIT(data, 5);
+ m_lamps[11] = BIT(data, 4);
+ m_lamps[12] = BIT(data, 5);
/* bit 7 goes directly to the sound amplifier */
m_dac->write(BIT(data, 7));
@@ -265,13 +265,13 @@ WRITE8_MEMBER(gei_state::sound2_w)
WRITE8_MEMBER(gei_state::lamps2_w)
{
/* bit 4 - play/raise button lamp, lamp 9 in poker test mode */
- m_lamp[8] = BIT(data, 4);
+ m_lamps[8] = BIT(data, 4);
}
WRITE8_MEMBER(gei_state::nmi_w)
{
/* bit 4 - play/raise button lamp, lamp 9 in selection test mode */
- m_lamp[8] = BIT(data, 4);
+ m_lamps[8] = BIT(data, 4);
/* bit 6 enables NMI */
m_nmi_mask = data & 0x40;