diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2017-03-02 16:42:45 -0500 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2017-03-02 16:42:45 -0500 |
commit | 4e59ab6ffe18b23ef4da44707ddf8728c01d5c5b (patch) | |
tree | 2ecab322c18f928df67b9cf75b226aec725a6c91 /src/devices/bus/isa/isa.cpp | |
parent | 71656df5c3a0751113f0cbb90da1ad284219a098 (diff) |
Device fixups (nw)
- c2040fdc, c64h156: Calculate clock period in device_clock_changed rather than in constructor
- isa8, isa16: Eliminate device_config_complete (probably unnecessary, since m_maincpu is already set in device_start)
These changes prevent assert failures with the new ad-hoc device construction in -listxml, though they are otherwise independent.
Diffstat (limited to 'src/devices/bus/isa/isa.cpp')
-rw-r--r-- | src/devices/bus/isa/isa.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/devices/bus/isa/isa.cpp b/src/devices/bus/isa/isa.cpp index 17cbf8fc770..b624df933d5 100644 --- a/src/devices/bus/isa/isa.cpp +++ b/src/devices/bus/isa/isa.cpp @@ -115,17 +115,6 @@ void isa8_device::static_set_custom_spaces(device_t &device) isa.m_allocspaces = true; } -//------------------------------------------------- -// device_config_complete - perform any -// operations now that the configuration is -// complete -//------------------------------------------------- - -void isa8_device::device_config_complete() -{ - m_maincpu = subdevice<cpu_device>(m_cputag); -} - //************************************************************************** // LIVE DEVICE //************************************************************************** @@ -476,17 +465,6 @@ isa16_device::isa16_device(const machine_config &mconfig, const char *tag, devic } //------------------------------------------------- -// device_config_complete - perform any -// operations now that the configuration is -// complete -//------------------------------------------------- - -void isa16_device::device_config_complete() -{ - m_maincpu = mconfig().device<cpu_device>(m_cputag); -} - -//------------------------------------------------- // device_start - device-specific startup //------------------------------------------------- |