summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/tms32031
diff options
context:
space:
mode:
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
commit536b2153d995430def817091867b3cfde71e688a (patch)
treeebfaa23525e5a041a3160ed284944efc3b209ab4 /src/devices/cpu/tms32031
parenta857db7582d91ede98433fb63b357b917ef92f73 (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/tms32031')
-rw-r--r--src/devices/cpu/tms32031/tms32031.cpp4
-rw-r--r--src/devices/cpu/tms32031/tms32031.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/cpu/tms32031/tms32031.cpp b/src/devices/cpu/tms32031/tms32031.cpp
index b9b674c51e8..a924791cb71 100644
--- a/src/devices/cpu/tms32031/tms32031.cpp
+++ b/src/devices/cpu/tms32031/tms32031.cpp
@@ -456,9 +456,9 @@ void tms3203x_device::device_reset()
// the space doesn't exist
//-------------------------------------------------
-std::vector<std::pair<int, const address_space_config *>> tms3203x_device::memory_space_config() const
+device_memory_interface::space_config_vector tms3203x_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)
};
}
diff --git a/src/devices/cpu/tms32031/tms32031.h b/src/devices/cpu/tms32031/tms32031.h
index 7cbdf9cf9ce..e654d4f2f5e 100644
--- a/src/devices/cpu/tms32031/tms32031.h
+++ b/src/devices/cpu/tms32031/tms32031.h
@@ -174,7 +174,7 @@ protected:
virtual void execute_set_input(int inputnum, int state) override;
// device_memory_interface overrides
- virtual std::vector<std::pair<int, const address_space_config *>> memory_space_config() const override;
+ virtual space_config_vector memory_space_config() const override;
// device_state_interface overrides
virtual void state_import(const device_state_entry &entry) override;