summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/rf5c296.h
diff options
context:
space:
mode:
author wilbertpol <wilbertpol@users.noreply.github.com>2018-03-03 18:18:08 +0100
committer Vas Crabb <cuavas@users.noreply.github.com>2018-03-04 04:18:08 +1100
commit3b923d59ccb8d2d8e386392518450006f8e644fe (patch)
tree73c48568e76d69edbde9f96a3f57d173dd05a747 /src/devices/machine/rf5c296.h
parent25472091b626bd01ef47f11389a4b2ebe0fc0008 (diff)
destaticify initializations (nw) (#3289)
* destaticify initializations (nw) * fix this->set_screen (nw)
Diffstat (limited to 'src/devices/machine/rf5c296.h')
-rw-r--r--src/devices/machine/rf5c296.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/rf5c296.h b/src/devices/machine/rf5c296.h
index f27644e0269..47ebf683cf3 100644
--- a/src/devices/machine/rf5c296.h
+++ b/src/devices/machine/rf5c296.h
@@ -8,15 +8,15 @@
#include "pccard.h"
#define MCFG_RF5C296_SLOT(name) \
- rf5c296_device::set_pccard_name(*device, name);
+ downcast<rf5c296_device &>(*device).set_pccard_name(name);
class rf5c296_device : public device_t
{
public:
rf5c296_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
- // static configuration helpers
- static void set_pccard_name(device_t &device, const char *name) { downcast<rf5c296_device &>(device).m_pccard_name = name; }
+ // configuration helpers
+ void set_pccard_name(const char *name) { m_pccard_name = name; }
DECLARE_WRITE16_MEMBER(io_w);
DECLARE_READ16_MEMBER(io_r);