summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/naomim4.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/naomim4.cpp')
-rw-r--r--src/mame/machine/naomim4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/naomim4.cpp b/src/mame/machine/naomim4.cpp
index f9baab8de51..9bb9992614e 100644
--- a/src/mame/machine/naomim4.cpp
+++ b/src/mame/machine/naomim4.cpp
@@ -72,7 +72,7 @@ void naomi_m4_board::device_start()
buffer = std::make_unique<uint8_t[]>(BUFFER_SIZE);
enc_init();
- save_pointer(NAME(buffer.get()), BUFFER_SIZE);
+ save_pointer(NAME(buffer), BUFFER_SIZE);
save_item(NAME(rom_cur_address));
save_item(NAME(buffer_actual_size));
save_item(NAME(encryption));