summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/msm6255.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/msm6255.cpp')
-rw-r--r--src/devices/video/msm6255.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/devices/video/msm6255.cpp b/src/devices/video/msm6255.cpp
index d7ee5ce7903..25618a69b10 100644
--- a/src/devices/video/msm6255.cpp
+++ b/src/devices/video/msm6255.cpp
@@ -60,7 +60,7 @@ DEVICE_ADDRESS_MAP_START( map, 8, msm6255_device )
ADDRESS_MAP_END
// default address map
-static ADDRESS_MAP_START( msm6255, AS_0, 8, msm6255_device )
+static ADDRESS_MAP_START( msm6255, 0, 8, msm6255_device )
AM_RANGE(0x00000, 0xfffff) AM_RAM
ADDRESS_MAP_END
@@ -121,9 +121,11 @@ void msm6255_device::device_reset()
// any address spaces owned by this device
//-------------------------------------------------
-const address_space_config *msm6255_device::memory_space_config(address_spacenum spacenum) const
+std::vector<std::pair<int, const address_space_config *>> msm6255_device::memory_space_config() const
{
- return (spacenum == AS_0) ? &m_space_config : nullptr;
+ return std::vector<std::pair<int, const address_space_config *>> {
+ std::make_pair(0, &m_space_config)
+ };
}