diff options
author | Vas Crabb <vas@vastheman.com> | 2017-07-10 19:34:33 +1000 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2017-07-10 19:35:07 +1000 |
commit | 536b2153d995430def817091867b3cfde71e688a (patch) | |
tree | ebfaa23525e5a041a3160ed284944efc3b209ab4 /src/devices/cpu/v60/v60.cpp | |
parent | a857db7582d91ede98433fb63b357b917ef92f73 (diff) |
make device_memory_interface slightly less of a special case, use a typedef to avoid nested templates everywhere (nw)
Diffstat (limited to 'src/devices/cpu/v60/v60.cpp')
-rw-r--r-- | src/devices/cpu/v60/v60.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/v60/v60.cpp b/src/devices/cpu/v60/v60.cpp index 1950b64c788..dbe8ed08599 100644 --- a/src/devices/cpu/v60/v60.cpp +++ b/src/devices/cpu/v60/v60.cpp @@ -106,9 +106,9 @@ v70_device::v70_device(const machine_config &mconfig, const char *tag, device_t { } -std::vector<std::pair<int, const address_space_config *>> v60_device::memory_space_config() const +device_memory_interface::space_config_vector v60_device::memory_space_config() const { - return std::vector<std::pair<int, const address_space_config *>> { + return space_config_vector { std::make_pair(AS_PROGRAM, &m_program_config), std::make_pair(AS_IO, &m_io_config) }; |