summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/atarixga.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-06-17 17:46:18 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-06-24 09:08:33 -0400
commitb3afc83bde187412269b825d052116727aa3c1bd (patch)
tree98809c6cc5d861056842a4acfac24b11a14ecc8f /src/mame/machine/atarixga.cpp
parent297b99c0faa2e70ed3fb5cc4c9ed60e40cd9af5a (diff)
Allow passing std::unique_ptr<TYPE> directly to save_pointer and remove now-superfluous .get() in many drivers/devices (nw)
Diffstat (limited to 'src/mame/machine/atarixga.cpp')
-rw-r--r--src/mame/machine/atarixga.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/atarixga.cpp b/src/mame/machine/atarixga.cpp
index d3858fcce86..968abee4048 100644
--- a/src/mame/machine/atarixga.cpp
+++ b/src/mame/machine/atarixga.cpp
@@ -74,7 +74,7 @@ void atari_136094_0072_device::device_start()
{
m_ram = std::make_unique<uint16_t[]>(RAM_WORDS);
- save_pointer(NAME(m_ram.get()), RAM_WORDS * sizeof(uint16_t));
+ save_pointer(NAME(m_ram), RAM_WORDS * sizeof(uint16_t));
save_item(NAME(m_address));
save_item(NAME(m_ciphertext));
}
@@ -293,7 +293,7 @@ atari_136095_0072_device::atari_136095_0072_device(const machine_config &mconfig
void atari_136095_0072_device::device_start()
{
m_ram = std::make_unique<uint16_t[]>(RAM_WORDS);
- save_pointer(NAME(m_ram.get()), RAM_WORDS * sizeof(uint16_t));
+ save_pointer(NAME(m_ram), RAM_WORDS * sizeof(uint16_t));
save_item(NAME(m_update.addr));
save_item(NAME(m_update.data));