diff options
author | Olivier Galibert <galibert@pobox.com> | 2018-01-18 19:41:45 +0100 |
---|---|---|
committer | Olivier Galibert <galibert@pobox.com> | 2018-01-31 22:03:00 +0100 |
commit | 127cd08d4d8a7ebbd5e0cbe8239fa17c8dc9b20e (patch) | |
tree | ee4db1c2bfd942142669ab820a39f8417d0a0d9d /src/mame/machine/naomim1.cpp | |
parent | 86d25d4d8dae418ef39b132e9f80cc9f781b96e1 (diff) |
API change: Memory maps are now "last entry wins" [O. Galibert]
This allows for the much more natural "import another map and patch
it" structure, or "cover a whole region then punch holes in it". Our
previous first-entry-wins rule was always a surprise to newcomers, and
oldcomers too.
Diffstat (limited to 'src/mame/machine/naomim1.cpp')
-rw-r--r-- | src/mame/machine/naomim1.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/machine/naomim1.cpp b/src/mame/machine/naomim1.cpp index 760f6e8e020..10066b3a126 100644 --- a/src/mame/machine/naomim1.cpp +++ b/src/mame/machine/naomim1.cpp @@ -7,9 +7,8 @@ DEFINE_DEVICE_TYPE(NAOMI_M1_BOARD, naomi_m1_board, "naomi_m1_board", "Sega NAOMI M1 Board") DEVICE_ADDRESS_MAP_START(submap, 16, naomi_m1_board) - AM_RANGE(0x0a, 0x0b) AM_READ(actel_id_r) - AM_INHERIT_FROM(naomi_board::submap) + AM_RANGE(0x0a, 0x0b) AM_READ(actel_id_r) ADDRESS_MAP_END naomi_m1_board::naomi_m1_board(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) |