diff options
Diffstat (limited to 'src/devices/machine/nvram.cpp')
-rw-r--r-- | src/devices/machine/nvram.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/machine/nvram.cpp b/src/devices/machine/nvram.cpp index 6d7c2302ae8..e00d10447a8 100644 --- a/src/devices/machine/nvram.cpp +++ b/src/devices/machine/nvram.cpp @@ -27,6 +27,7 @@ nvram_device::nvram_device(const machine_config &mconfig, const char *tag, devic device_nvram_interface(mconfig, *this), m_region(*this, DEVICE_SELF), m_default_value(DEFAULT_ALL_1), + m_custom_handler(*this), m_base(nullptr), m_length(0) { @@ -40,7 +41,7 @@ nvram_device::nvram_device(const machine_config &mconfig, const char *tag, devic void nvram_device::device_start() { // bind our handler - m_custom_handler.bind_relative_to(*owner()); + m_custom_handler.resolve(); } |