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.cpp | |
parent | 25472091b626bd01ef47f11389a4b2ebe0fc0008 (diff) |
destaticify initializations (nw) (#3289)
* destaticify initializations (nw)
* fix this->set_screen (nw)
Diffstat (limited to 'src/devices/machine/eeprompar.cpp')
-rw-r--r-- | src/devices/machine/eeprompar.cpp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/devices/machine/eeprompar.cpp b/src/devices/machine/eeprompar.cpp index ee717972f07..3be7298afc7 100644 --- a/src/devices/machine/eeprompar.cpp +++ b/src/devices/machine/eeprompar.cpp @@ -110,18 +110,6 @@ eeprom_parallel_28xx_device::eeprom_parallel_28xx_device(const machine_config &m //------------------------------------------------- -// static_set_lock_after_write - configuration -// helper to enable simulation of external -// flip-flop hooked to lock EEPROM after writes -//------------------------------------------------- - -void eeprom_parallel_28xx_device::static_set_lock_after_write(device_t &device, bool lock) -{ - downcast<eeprom_parallel_28xx_device &>(device).m_lock_after_write = lock; -} - - -//------------------------------------------------- // device_start - device-specific startup //------------------------------------------------- @@ -218,7 +206,7 @@ WRITE32_MEMBER(eeprom_parallel_28xx_device::unlock_write32) { oe_w(1); } eeprom_parallel_##_lowercase##_device::eeprom_parallel_##_lowercase##_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) \ : eeprom_parallel_##_baseclass##_device(mconfig, EEPROM_PARALLEL_##_uppercase, tag, owner) \ { \ - static_set_size(*this, _cells, _bits); \ + set_size(_cells, _bits); \ } \ DEFINE_DEVICE_TYPE(EEPROM_PARALLEL_##_uppercase, eeprom_parallel_##_lowercase##_device, #_lowercase, "Parallel EEPROM " #_uppercase " (" #_cells "x" #_bits ")") |