shared/dcs.cpp: Got rid of unused memory share (fixes mismatched width warning for DCS Denver).

This commit is contained in:
Vas Crabb 2024-09-25 03:02:02 +10:00
parent a916fd601d
commit 6ff52080d2
2 changed files with 2 additions and 4 deletions

View file

@ -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"),

View file

@ -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;