mirror of
https://github.com/holub/mame
synced 2025-10-05 16:50:57 +03:00
mips1: handle no cache (nw)
This commit is contained in:
parent
18d0fee8ba
commit
aa186556c4
@ -156,12 +156,14 @@ void mips1core_device_base::device_add_mconfig(machine_config &config)
|
||||
|
||||
void mips1core_device_base::icache_map(address_map &map)
|
||||
{
|
||||
map(0, m_icache_size - 1).ram().mirror(~(m_icache_size - 1));
|
||||
if (m_icache_size)
|
||||
map(0, m_icache_size - 1).ram().mirror(~(m_icache_size - 1));
|
||||
}
|
||||
|
||||
void mips1core_device_base::dcache_map(address_map &map)
|
||||
{
|
||||
map(0, m_dcache_size - 1).ram().mirror(~(m_dcache_size - 1));
|
||||
if (m_dcache_size)
|
||||
map(0, m_dcache_size - 1).ram().mirror(~(m_dcache_size - 1));
|
||||
}
|
||||
|
||||
void mips1core_device_base::device_start()
|
||||
|
Loading…
Reference in New Issue
Block a user