summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/portrait.h
diff options
context:
space:
mode:
author wilbertpol <wilbertpol@users.noreply.github.com>2018-05-26 21:45:32 +0200
committer Vas Crabb <cuavas@users.noreply.github.com>2018-05-27 05:45:32 +1000
commit5291d140218339dff4fa471b1f8f1cfab3eb3fa1 (patch)
tree76f2dd83bacede1d04ecfcd12135d7ad7245479f /src/mame/includes/portrait.h
parentc6e63ee748b64eb971e7091ea19848cc55f4d8b5 (diff)
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/includes/portrait.h')
-rw-r--r--src/mame/includes/portrait.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/includes/portrait.h b/src/mame/includes/portrait.h
index 76556dde845..39c7916cc19 100644
--- a/src/mame/includes/portrait.h
+++ b/src/mame/includes/portrait.h
@@ -14,7 +14,7 @@ public:
, m_bgvideoram(*this, "bgvideoram")
, m_fgvideoram(*this, "fgvideoram")
, m_spriteram(*this, "spriteram")
- , m_lamp(*this, "lamp%u", 0U)
+ , m_lamps(*this, "lamp%u", 0U)
{ }
DECLARE_WRITE8_MEMBER(ctrl_w);
@@ -36,7 +36,7 @@ public:
void portrait_sound_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;
required_device<cpu_device> m_maincpu;
@@ -47,7 +47,7 @@ protected:
required_shared_ptr<uint8_t> m_bgvideoram;
required_shared_ptr<uint8_t> m_fgvideoram;
required_shared_ptr<uint8_t> m_spriteram;
- output_finder<2> m_lamp;
+ output_finder<2> m_lamps;
int m_scroll;
tilemap_t *m_foreground;