summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/astrocde.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/astrocde.h')
-rw-r--r--src/devices/sound/astrocde.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/sound/astrocde.h b/src/devices/sound/astrocde.h
index 7eaae126f4f..eddde3a12bb 100644
--- a/src/devices/sound/astrocde.h
+++ b/src/devices/sound/astrocde.h
@@ -49,7 +49,7 @@ public:
// configuration access
auto si_cb() { return m_si_callback.bind(); }
template <std::size_t Bit> auto so_cb() { return m_so_callback[Bit].bind(); }
- template <std::size_t Pot> void set_pot_tag(const char *tag) { m_pots[Pot].set_tag(tag); }
+ template <std::size_t Pot> auto pot_cb() { return m_pots[Pot].bind(); }
protected:
// device-level overrides
@@ -90,7 +90,7 @@ private:
devcb_read8 m_si_callback;
devcb_write8 m_so_callback[8];
- optional_ioport_array<4> m_pots;
+ devcb_read8 m_pots[4];
};
DECLARE_DEVICE_TYPE(ASTROCADE_IO, astrocade_io_device)