diff options
Diffstat (limited to 'src/devices/cpu/ssem/ssem.cpp')
-rw-r--r-- | src/devices/cpu/ssem/ssem.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/devices/cpu/ssem/ssem.cpp b/src/devices/cpu/ssem/ssem.cpp index c15b984c546..b441ff926d2 100644 --- a/src/devices/cpu/ssem/ssem.cpp +++ b/src/devices/cpu/ssem/ssem.cpp @@ -135,13 +135,11 @@ void ssem_device::device_reset() // the space doesn't exist //------------------------------------------------- -const address_space_config *ssem_device::memory_space_config(address_spacenum spacenum) const +std::vector<std::pair<int, const address_space_config *>> ssem_device::memory_space_config() const { - if (spacenum == AS_PROGRAM) - { - return &m_program_config; - } - return nullptr; + return std::vector<std::pair<int, const address_space_config *>> { + std::make_pair(AS_PROGRAM, &m_program_config) + }; } |