diff options
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 |
commit | 3b923d59ccb8d2d8e386392518450006f8e644fe (patch) | |
tree | 73c48568e76d69edbde9f96a3f57d173dd05a747 /src/devices/machine/eeprompar.h | |
parent | 25472091b626bd01ef47f11389a4b2ebe0fc0008 (diff) |
destaticify initializations (nw) (#3289)
* destaticify initializations (nw)
* fix this->set_screen (nw)
Diffstat (limited to 'src/devices/machine/eeprompar.h')
-rw-r--r-- | src/devices/machine/eeprompar.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/eeprompar.h b/src/devices/machine/eeprompar.h index 9803d1556bb..12f42e55b87 100644 --- a/src/devices/machine/eeprompar.h +++ b/src/devices/machine/eeprompar.h @@ -40,7 +40,7 @@ // true when external circuit is used to lock EEPROM after every write #define MCFG_EEPROM_28XX_LOCK_AFTER_WRITE(_lock) \ - eeprom_parallel_28xx_device::static_set_lock_after_write(*device, _lock); + downcast<eeprom_parallel_28xx_device &>(*device).set_lock_after_write(_lock); //************************************************************************** @@ -68,8 +68,8 @@ protected: class eeprom_parallel_28xx_device : public eeprom_parallel_base_device { public: - // static configuration helpers - static void static_set_lock_after_write(device_t &device, bool lock); + // configuration helpers + void set_lock_after_write(bool lock) { m_lock_after_write = lock; } // read/write data lines DECLARE_WRITE8_MEMBER(write); |