summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/alto2/alto2cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/alto2/alto2cpu.h')
-rw-r--r--src/devices/cpu/alto2/alto2cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/alto2/alto2cpu.h b/src/devices/cpu/alto2/alto2cpu.h
index b8be459b3a3..e0fbc075895 100644
--- a/src/devices/cpu/alto2/alto2cpu.h
+++ b/src/devices/cpu/alto2/alto2cpu.h
@@ -188,7 +188,7 @@ public:
auto utilout_callback() { return m_utilout_callback.bind(); }
//! driver interface to set diablo_hd_device
- void set_diablo(int unit, diablo_hd_device* ptr);
+ template <typename T> void set_diablo(int unit, T &&tag) { m_drive[unit].set_tag(std::forward<T>(tag)); }
//! call in for the next sector callback
void next_sector(int unit);