summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/naomim2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/naomim2.cpp')
-rw-r--r--src/mame/machine/naomim2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/naomim2.cpp b/src/mame/machine/naomim2.cpp
index 16123db826f..39e7b56c4fe 100644
--- a/src/mame/machine/naomim2.cpp
+++ b/src/mame/machine/naomim2.cpp
@@ -125,7 +125,7 @@ void naomi_m2_board::device_start()
ram = std::make_unique<uint8_t[]>(RAM_SIZE);
save_item(NAME(rom_cur_address));
- save_pointer(NAME(ram.get()), RAM_SIZE);
+ save_pointer(NAME(ram), RAM_SIZE);
}
void naomi_m2_board::device_reset()