summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/rtc65271.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/rtc65271.h')
-rw-r--r--src/devices/machine/rtc65271.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/devices/machine/rtc65271.h b/src/devices/machine/rtc65271.h
index b6d5c3b5803..65ee8233675 100644
--- a/src/devices/machine/rtc65271.h
+++ b/src/devices/machine/rtc65271.h
@@ -1,7 +1,7 @@
// license:BSD-3-Clause
// copyright-holders:Raphael Nabet, R. Belmont
/*
- rtc65271.h: include file for rtc65271.c
+ rtc65271.h: include file for rtc65271.cpp
*/
#ifndef MAME_MACHINE_RTC65271_H
@@ -10,14 +10,6 @@
#pragma once
-//**************************************************************************
-// INTERFACE CONFIGURATION MACROS
-//**************************************************************************
-
-#define MCFG_RTC65271_INTERRUPT_CB(cb) \
- downcast<rtc65271_device &>(*device).set_interrupt_callback(DEVCB_##cb);
-
-
// ======================> rtc65271_device
class rtc65271_device : public device_t,
@@ -27,7 +19,6 @@ public:
// construction/destruction
rtc65271_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
- template <class Object> devcb_base &set_interrupt_callback(Object &&cb) { return m_interrupt_cb.set_callback(std::forward<Object>(cb)); }
auto interrupt_cb() { return m_interrupt_cb.bind(); }
DECLARE_READ8_MEMBER( rtc_r );