mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
cleaned up. nw.
This commit is contained in:
parent
fcfcc096da
commit
546ffa9839
@ -58,11 +58,8 @@ saturn_bram32mb_device::saturn_bram32mb_device(const machine_config &mconfig, co
|
||||
|
||||
void saturn_bram_device::device_start()
|
||||
{
|
||||
if (m_ext_bram == NULL)
|
||||
{
|
||||
m_ext_bram.resize(m_size);
|
||||
save_item(NAME(m_ext_bram));
|
||||
}
|
||||
m_ext_bram.resize(m_size);
|
||||
save_item(NAME(m_ext_bram));
|
||||
}
|
||||
|
||||
void saturn_bram_device::device_reset()
|
||||
|
@ -43,17 +43,10 @@ saturn_dram32mb_device::saturn_dram32mb_device(const machine_config &mconfig, co
|
||||
|
||||
void saturn_dram_device::device_start()
|
||||
{
|
||||
if (m_ext_dram0 == NULL)
|
||||
{
|
||||
m_ext_dram0.resize((m_size/2)/sizeof(UINT32));
|
||||
save_item(NAME(m_ext_dram0));
|
||||
}
|
||||
|
||||
if (m_ext_dram1 == NULL)
|
||||
{
|
||||
m_ext_dram1.resize((m_size/2)/sizeof(UINT32));
|
||||
save_item(NAME(m_ext_dram1));
|
||||
}
|
||||
m_ext_dram0.resize((m_size/2)/sizeof(UINT32));
|
||||
m_ext_dram1.resize((m_size/2)/sizeof(UINT32));
|
||||
save_item(NAME(m_ext_dram0));
|
||||
save_item(NAME(m_ext_dram1));
|
||||
}
|
||||
|
||||
void saturn_dram_device::device_reset()
|
||||
|
Loading…
Reference in New Issue
Block a user