remove some unneeded usage of save_pointer + .get()

This commit is contained in:
hap 2020-11-02 16:28:45 +01:00
parent 8d22f65d29
commit 24a281741a
3 changed files with 3 additions and 3 deletions

View File

@ -54,7 +54,7 @@ void c64_dqbb_cartridge_device::device_start()
{
// allocate memory
m_nvram = std::make_unique<uint8_t[]>(0x4000);
save_pointer(NAME(m_nvram.get()), 0x4000);
save_pointer(NAME(m_nvram), 0x4000);
// state saving
save_item(NAME(m_cs));

View File

@ -98,7 +98,7 @@ c64_final_chesscard_device::c64_final_chesscard_device(const machine_config &mco
void c64_final_chesscard_device::device_start()
{
m_nvram = std::make_unique<uint8_t[]>(0x2000);
save_pointer(NAME(m_nvram.get()), 0x2000);
save_pointer(NAME(m_nvram), 0x2000);
// state saving
save_item(NAME(m_bank));

View File

@ -53,7 +53,7 @@ void isa8_chessmsr_device::device_start()
// allocate maximum RAM beforehand
const u32 maxram = 1 << 21;
m_ram = std::make_unique<u32[]>(maxram / 4);
save_pointer(NAME(m_ram.get()), maxram / 4);
save_pointer(NAME(m_ram), maxram / 4);
}