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/machine/bankdev.cpp | |
| parent | cb1930f6e6a6b460577f01207888eab402469e9f (diff) | |
dimemory: Lift the cap on the number of address spaces per device [O. Galibert]
Diffstat (limited to 'src/devices/machine/bankdev.cpp')
| -rw-r--r-- | src/devices/machine/bankdev.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/devices/machine/bankdev.cpp b/src/devices/machine/bankdev.cpp index 50000e8942f..7a0e158d92b 100644 --- a/src/devices/machine/bankdev.cpp +++ b/src/devices/machine/bankdev.cpp @@ -18,6 +18,13 @@ address_map_bank_device::address_map_bank_device( const machine_config &mconfig, { } +std::vector<std::pair<int, const address_space_config *>> address_map_bank_device::memory_space_config() const +{ + return std::vector<std::pair<int, const address_space_config *>> { + std::make_pair(AS_PROGRAM, &m_program_config) + }; +} + DEVICE_ADDRESS_MAP_START(amap8, 8, address_map_bank_device) AM_RANGE(0x00000000, 0xffffffff) AM_READWRITE(read8, write8) ADDRESS_MAP_END |
