diff options
| author | 2017-07-01 12:11:28 +0200 | |
|---|---|---|
| committer | 2017-07-03 08:03:57 +0200 | |
| commit | cbbbd07484c736eae2069b294ec666f231e64bff (patch) | |
| tree | b94a690f0ab10635eb6d11837425744208c7e8a4 /src/devices/video/tms3556.cpp | |
| parent | cb1930f6e6a6b460577f01207888eab402469e9f (diff) | |
dimemory: Lift the cap on the number of address spaces per device [O. Galibert]
Diffstat (limited to 'src/devices/video/tms3556.cpp')
| -rw-r--r-- | src/devices/video/tms3556.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/devices/video/tms3556.cpp b/src/devices/video/tms3556.cpp index ce110948f3e..c2043076204 100644 --- a/src/devices/video/tms3556.cpp +++ b/src/devices/video/tms3556.cpp @@ -57,7 +57,7 @@ DEFINE_DEVICE_TYPE(TMS3556, tms3556_device, "tms3556", "Texas Instruments TMS355 // default address map -static ADDRESS_MAP_START( tms3556, AS_0, 8, tms3556_device ) +static ADDRESS_MAP_START( tms3556, 0, 8, tms3556_device ) AM_RANGE(0x0000, 0xffff) AM_RAM ADDRESS_MAP_END @@ -66,9 +66,11 @@ ADDRESS_MAP_END // any address spaces owned by this device //------------------------------------------------- -const address_space_config *tms3556_device::memory_space_config(address_spacenum spacenum) const +std::vector<std::pair<int, const address_space_config *>> tms3556_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) + }; } |
