diff --git a/src/devices/bus/c64/dqbb.cpp b/src/devices/bus/c64/dqbb.cpp index 6f7e2bf7dab..e08bfbd05b5 100644 --- a/src/devices/bus/c64/dqbb.cpp +++ b/src/devices/bus/c64/dqbb.cpp @@ -54,7 +54,7 @@ void c64_dqbb_cartridge_device::device_start() { // allocate memory m_nvram = std::make_unique(0x4000); - save_pointer(NAME(m_nvram.get()), 0x4000); + save_pointer(NAME(m_nvram), 0x4000); // state saving save_item(NAME(m_cs)); diff --git a/src/devices/bus/c64/fcc.cpp b/src/devices/bus/c64/fcc.cpp index 23744ab5af2..1d9300f1a07 100644 --- a/src/devices/bus/c64/fcc.cpp +++ b/src/devices/bus/c64/fcc.cpp @@ -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(0x2000); - save_pointer(NAME(m_nvram.get()), 0x2000); + save_pointer(NAME(m_nvram), 0x2000); // state saving save_item(NAME(m_bank)); diff --git a/src/devices/bus/isa/chessmsr.cpp b/src/devices/bus/isa/chessmsr.cpp index d3924f31bfd..f466f392227 100644 --- a/src/devices/bus/isa/chessmsr.cpp +++ b/src/devices/bus/isa/chessmsr.cpp @@ -53,7 +53,7 @@ void isa8_chessmsr_device::device_start() // allocate maximum RAM beforehand const u32 maxram = 1 << 21; m_ram = std::make_unique(maxram / 4); - save_pointer(NAME(m_ram.get()), maxram / 4); + save_pointer(NAME(m_ram), maxram / 4); }