From 6ff52080d2af7357846d09b1d280d65abad56498 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Wed, 25 Sep 2024 03:02:02 +1000 Subject: [PATCH] shared/dcs.cpp: Got rid of unused memory share (fixes mismatched width warning for DCS Denver). --- src/mame/shared/dcs.cpp | 5 ++--- 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 m_bootrom; optional_shared_ptr m_internal_program_ram; optional_shared_ptr m_external_program_ram; - optional_shared_ptr m_internal_data_ram; optional_shared_ptr m_iram; optional_memory_bank m_data_bank;