diff options
Diffstat (limited to 'src/devices/video/mb90082.cpp')
-rw-r--r-- | src/devices/video/mb90082.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/devices/video/mb90082.cpp b/src/devices/video/mb90082.cpp index ef668a91732..8007f283e2f 100644 --- a/src/devices/video/mb90082.cpp +++ b/src/devices/video/mb90082.cpp @@ -23,7 +23,7 @@ // device type definition DEFINE_DEVICE_TYPE(MB90082, mb90082_device, "mb90082", "Fujitsu MB90082 OSD") -static ADDRESS_MAP_START( mb90082_vram, AS_0, 16, mb90082_device ) +static ADDRESS_MAP_START( mb90082_vram, 0, 16, mb90082_device ) AM_RANGE(0x0000, 0x023f) AM_RAM // main screen vram AM_RANGE(0x0400, 0x063f) AM_RAM // main screen attr // AM_RANGE(0x0800, 0x0a3f) AM_RAM // sub screen vram @@ -50,9 +50,11 @@ const tiny_rom_entry *mb90082_device::device_rom_region() const // any address spaces owned by this device //------------------------------------------------- -const address_space_config *mb90082_device::memory_space_config(address_spacenum spacenum) const +std::vector<std::pair<int, const address_space_config *>> mb90082_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) + }; } //************************************************************************** |