summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/at28c16.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/at28c16.cpp')
-rw-r--r--src/devices/machine/at28c16.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/devices/machine/at28c16.cpp b/src/devices/machine/at28c16.cpp
index 06188c190be..7ebc30943f9 100644
--- a/src/devices/machine/at28c16.cpp
+++ b/src/devices/machine/at28c16.cpp
@@ -57,9 +57,11 @@ at28c16_device::at28c16_device(const machine_config &mconfig, const char *tag, d
// any address spaces owned by this device
//-------------------------------------------------
-const address_space_config *at28c16_device::memory_space_config(address_spacenum spacenum) const
+std::vector<std::pair<int, const address_space_config *>> at28c16_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)
+ };
}