summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/r10788.h
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2018-10-29 18:39:36 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2018-10-29 18:39:36 +0100
commit93308b483ee73cecc46a6b44fccc126edf3c512a (patch)
treeb1aacbfa0398b30d22252901836a3e99255924fe /src/devices/machine/r10788.h
parent95863464389feba1cb8bf3e6a2c1057d72e33344 (diff)
cpu/pps4 - machine/pxa255, r10696, r10788, ra17xx, rf5c296, roc10937, rp5c01, rp5c15, rp5h01, rtc4543, rtc65271, rtc9701, s2636, s3520cf, s3c2400, s3c2410, s3c2440, sa1043, scnxx562: removed MCFG macros (nw)
Diffstat (limited to 'src/devices/machine/r10788.h')
-rw-r--r--src/devices/machine/r10788.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/devices/machine/r10788.h b/src/devices/machine/r10788.h
index 1a8f4b13af8..ef783cb5a2d 100644
--- a/src/devices/machine/r10788.h
+++ b/src/devices/machine/r10788.h
@@ -19,15 +19,6 @@
#include "device.h"
-/*************************************
- *
- * Device configuration macros
- *
- *************************************/
-
-/* Set the writer used to update a display digit */
-#define MCFG_R10788_UPDATE(devcb) \
- downcast<r10788_device &>(*device).set_update(DEVCB_##devcb);
class r10788_device : public device_t
{
@@ -48,7 +39,7 @@ public:
DECLARE_READ8_MEMBER ( io_r );
DECLARE_WRITE8_MEMBER( io_w );
- template <class Object> devcb_base &set_update(Object &&cb) { return m_display.set_callback(std::forward<Object>(cb)); }
+ auto update_cb() { return m_display.bind(); } /* Set the writer used to update a display digit */
protected:
// device-level overrides