diff options
Diffstat (limited to 'src/devices/video/ef9364.cpp')
-rw-r--r-- | src/devices/video/ef9364.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/devices/video/ef9364.cpp b/src/devices/video/ef9364.cpp index 5be327900f4..6ac4c8008ad 100644 --- a/src/devices/video/ef9364.cpp +++ b/src/devices/video/ef9364.cpp @@ -33,7 +33,7 @@ DEFINE_DEVICE_TYPE(EF9364, ef9364_device, "ef9364", "Thomson EF9364") //------------------------------------------------- // default address map //------------------------------------------------- -static ADDRESS_MAP_START( ef9364, AS_0, 8, ef9364_device ) +static ADDRESS_MAP_START( ef9364, 0, 8, ef9364_device ) AM_RANGE(0x00000, ( ( ef9364_device::TXTPLANE_MAX_SIZE * ef9364_device::MAX_TXTPLANES ) - 1 ) ) AM_RAM ADDRESS_MAP_END @@ -42,9 +42,11 @@ ADDRESS_MAP_END // any address spaces owned by this device //------------------------------------------------- -const address_space_config *ef9364_device::memory_space_config(address_spacenum spacenum) const +std::vector<std::pair<int, const address_space_config *>> ef9364_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) + }; } //************************************************************************** |