diff options
Diffstat (limited to 'src/devices/cpu/m6805/m6805.cpp')
-rw-r--r-- | src/devices/cpu/m6805/m6805.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/devices/cpu/m6805/m6805.cpp b/src/devices/cpu/m6805/m6805.cpp index a4b8a1c10e9..4d3009b0c8c 100644 --- a/src/devices/cpu/m6805/m6805.cpp +++ b/src/devices/cpu/m6805/m6805.cpp @@ -319,12 +319,11 @@ void m6805_base_device::device_reset() // the space doesn't exist //------------------------------------------------- -const address_space_config *m6805_base_device::memory_space_config(address_spacenum spacenum) const +std::vector<std::pair<int, const address_space_config *>> m6805_base_device::memory_space_config() const { - if (spacenum == AS_PROGRAM) - return &m_program_config; - else - return nullptr; + return std::vector<std::pair<int, const address_space_config *>> { + std::make_pair(AS_PROGRAM, &m_program_config) + }; } |