summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/mb_vcu.cpp
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/video/mb_vcu.cpp
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/video/mb_vcu.cpp')
-rw-r--r--src/devices/video/mb_vcu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/video/mb_vcu.cpp b/src/devices/video/mb_vcu.cpp
index 08f082fa920..46087f9997f 100644
--- a/src/devices/video/mb_vcu.cpp
+++ b/src/devices/video/mb_vcu.cpp
@@ -91,9 +91,9 @@ WRITE8_MEMBER( mb_vcu_device::mb_vcu_paletteram_w )
// any address spaces owned by this device
//-------------------------------------------------
-std::vector<std::pair<int, const address_space_config *>> mb_vcu_device::memory_space_config() const
+device_memory_interface::space_config_vector mb_vcu_device::memory_space_config() const
{
- return std::vector<std::pair<int, const address_space_config *>> {
+ return space_config_vector {
std::make_pair(0, &m_videoram_space_config),
std::make_pair(1, &m_paletteram_space_config)
};