diff options
Diffstat (limited to 'src/devices/machine/cxd1095.cpp')
-rw-r--r-- | src/devices/machine/cxd1095.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/devices/machine/cxd1095.cpp b/src/devices/machine/cxd1095.cpp index 430348de631..5aaf3a14ad3 100644 --- a/src/devices/machine/cxd1095.cpp +++ b/src/devices/machine/cxd1095.cpp @@ -53,7 +53,6 @@ void cxd1095_device::device_start() cb.resolve(); std::fill(std::begin(m_data_latch), std::end(m_data_latch), 0); - std::fill(std::begin(m_data_dir), std::end(m_data_dir), 0xff); // save state save_item(NAME(m_data_latch)); @@ -61,6 +60,15 @@ void cxd1095_device::device_start() } //------------------------------------------------- +// device_reset - device-specific reset +//------------------------------------------------- + +void cxd1095_device::device_reset() +{ + std::fill(std::begin(m_data_dir), std::end(m_data_dir), 0xff); +} + +//------------------------------------------------- // read - read from an input port //------------------------------------------------- |