diff options
| author | 2024-09-25 03:02:02 +1000 | |
|---|---|---|
| committer | 2024-09-25 03:02:02 +1000 | |
| commit | 6ff52080d2af7357846d09b1d280d65abad56498 (patch) | |
| tree | 21e1c76f2f05605007a756e3767fabd87a808a65 | |
| parent | a916fd601df5be1153aa3f6dd5ab314eb4dd6d16 (diff) | |
shared/dcs.cpp: Got rid of unused memory share (fixes mismatched width warning for DCS Denver).
| -rw-r--r-- | src/mame/shared/dcs.cpp | 5 | ||||
| -rw-r--r-- | src/mame/shared/dcs.h | 1 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/mame/shared/dcs.cpp b/src/mame/shared/dcs.cpp index 3906ef80b4b..f206dca836a 100644 --- a/src/mame/shared/dcs.cpp +++ b/src/mame/shared/dcs.cpp @@ -404,7 +404,7 @@ void dcs_audio_device::dsio_data_map(address_map &map) { map.unmap_value_high(); map(0x0000, 0x1fff).m(m_ram_map, FUNC(address_map_bank_device::amap16)); - map(0x2000, 0x3fdf).ram().share(m_internal_data_ram); + map(0x2000, 0x3fdf).ram(); map(0x3fe0, 0x3fff).rw(FUNC(dcs_audio_device::adsp_control_r), FUNC(dcs_audio_device::adsp_control_w)); } @@ -444,7 +444,7 @@ void dcs_audio_device::denver_data_map(address_map &map) { map.unmap_value_high(); map(0x0000, 0x1fff).m(m_ram_map, FUNC(address_map_bank_device::amap16)); - map(0x2000, 0x3fdf).ram().share(m_internal_data_ram); + map(0x2000, 0x3fdf).ram(); map(0x3fe0, 0x3fff).rw(FUNC(dcs_audio_device::adsp_control_r), FUNC(dcs_audio_device::adsp_control_w)); } @@ -693,7 +693,6 @@ dcs_audio_device::dcs_audio_device(const machine_config &mconfig, device_type ty m_bootrom(*this, DEVICE_SELF), m_internal_program_ram(*this, "dcsint"), m_external_program_ram(*this, "dcsext"), - m_internal_data_ram(*this, "dcsint_data"), m_iram(*this, "iram"), m_data_bank(*this, "databank"), m_rom_page(*this, "rompage"), diff --git a/src/mame/shared/dcs.h b/src/mame/shared/dcs.h index b0e628ce543..41583d966ee 100644 --- a/src/mame/shared/dcs.h +++ b/src/mame/shared/dcs.h @@ -104,7 +104,6 @@ protected: optional_region_ptr<uint16_t> m_bootrom; optional_shared_ptr<uint32_t> m_internal_program_ram; optional_shared_ptr<uint32_t> m_external_program_ram; - optional_shared_ptr<uint32_t> m_internal_data_ram; optional_shared_ptr<uint16_t> m_iram; optional_memory_bank m_data_bank; |
