summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/popeye.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/popeye.cpp')
-rw-r--r--src/mame/drivers/popeye.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/popeye.cpp b/src/mame/drivers/popeye.cpp
index d385cc296f4..bbc3273da6b 100644
--- a/src/mame/drivers/popeye.cpp
+++ b/src/mame/drivers/popeye.cpp
@@ -231,6 +231,7 @@ public:
{
}
+ virtual ~brazehs() override = default;
virtual void config(machine_config &config) override
{
T::config(config);
@@ -277,7 +278,7 @@ protected:
READ_LINE_MEMBER(tnx1_state::dsw1_read)
{
- return ioport("DSW1")->read() >> m_dswbit;
+ return m_io_dsw1->read() >> m_dswbit;
}