summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/smartmed.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/smartmed.h')
-rw-r--r--src/devices/machine/smartmed.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/devices/machine/smartmed.h b/src/devices/machine/smartmed.h
index 279f3f3f7c8..cd0d818aeb2 100644
--- a/src/devices/machine/smartmed.h
+++ b/src/devices/machine/smartmed.h
@@ -14,11 +14,6 @@
//#define SMARTMEDIA_IMAGE_SAVE
-#define MCFG_NAND_TYPE(type) \
- downcast<nand_device &>(*device).set_nand_type((nand_device::chip::type));
-
-#define MCFG_NAND_RNB_CALLBACK(write) \
- downcast<nand_device &>(*device).set_rnb_wr_callback(DEVCB_##write);
/***************************************************************************
TYPE DEFINITIONS
@@ -41,7 +36,7 @@ public:
// construction/destruction
nand_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
- template <class Object> devcb_base &set_rnb_wr_callback(Object &&cb) { return m_write_rnb.set_callback(std::forward<Object>(cb)); }
+ auto rnb_wr_callback() { return m_write_rnb.bind(); }
void set_nand_type(chip type)
{