summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/naomim1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/naomim1.cpp')
-rw-r--r--src/mame/machine/naomim1.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mame/machine/naomim1.cpp b/src/mame/machine/naomim1.cpp
index 8e91c5b7cf9..c4e53aa5047 100644
--- a/src/mame/machine/naomim1.cpp
+++ b/src/mame/machine/naomim1.cpp
@@ -45,6 +45,8 @@ void naomi_m1_board::device_start()
actel_id = 0;
}
+ key = flipendian_int32(key);
+
buffer = std::make_unique<uint8_t[]>(BUFFER_SIZE);
save_pointer(NAME(buffer), BUFFER_SIZE);