summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2016-10-29 12:07:23 +0200
committer GitHub <noreply@github.com>2016-10-29 12:07:23 +0200
commitbde830ac6326bdf247a2e3e4c5738ca46884b47c (patch)
tree5c7d7d8103369948f54abe3e08a3aaafc7dd06c4
parent89444a3a46cb2d93d7985ec21d8b21abe4b9b3bf (diff)
parent60b9e6da868ed82d277657386b4d4e7e636d52bd (diff)
Merge pull request #1590 from ajrhacker/unused_cleanup
Fix build by removing unused variables; slight cleanup of skylncr.cpp…
-rw-r--r--src/devices/machine/74175.h3
-rw-r--r--src/mame/drivers/skylncr.cpp5
2 files changed, 2 insertions, 6 deletions
diff --git a/src/devices/machine/74175.h b/src/devices/machine/74175.h
index a0b1714eb93..165c13a0ed1 100644
--- a/src/devices/machine/74175.h
+++ b/src/devices/machine/74175.h
@@ -168,9 +168,6 @@ private:
uint8_t m_q5;
uint8_t m_q6;
-
- uint8_t m_last_q5;
- uint8_t m_last_q6;
};
class ttl74175_device : public ttl741745_device
diff --git a/src/mame/drivers/skylncr.cpp b/src/mame/drivers/skylncr.cpp
index 08d30c5e493..995fa3d821d 100644
--- a/src/mame/drivers/skylncr.cpp
+++ b/src/mame/drivers/skylncr.cpp
@@ -176,8 +176,8 @@ public:
required_shared_ptr<uint8_t> m_reelscroll3;
required_shared_ptr<uint8_t> m_reelscroll4;
uint8_t m_nmi_enable;
- int m_color;
- int m_color2;
+ bool m_mbutrfly_prot;
+
DECLARE_WRITE8_MEMBER(skylncr_videoram_w);
DECLARE_WRITE8_MEMBER(skylncr_colorram_w);
DECLARE_WRITE8_MEMBER(reeltiles_1_w);
@@ -211,7 +211,6 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
required_device<ticket_dispenser_device> m_hopper;
- bool m_mbutrfly_prot;
};