summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/naomim1.cpp
diff options
context:
space:
mode:
author mooglyguy <therealmogminer@gmail.com>2018-11-05 19:13:27 +0100
committer mooglyguy <therealmogminer@gmail.com>2018-11-05 19:13:27 +0100
commit3eb3d5cb386a5e1f8eaffc2362991af21b0cd7fe (patch)
tree145e8d889fb54aecd5b5e480aacbeddb613f968f /src/mame/machine/naomim1.cpp
parent26258c22ab94f8d14446597df8f716dca0be11ea (diff)
Fix build, nw
Diffstat (limited to 'src/mame/machine/naomim1.cpp')
-rw-r--r--src/mame/machine/naomim1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/naomim1.cpp b/src/mame/machine/naomim1.cpp
index c4e53aa5047..c5289435a47 100644
--- a/src/mame/machine/naomim1.cpp
+++ b/src/mame/machine/naomim1.cpp
@@ -45,8 +45,8 @@ void naomi_m1_board::device_start()
actel_id = 0;
}
- key = flipendian_int32(key);
-
+ key = swapendian_int32(key);
+
buffer = std::make_unique<uint8_t[]>(BUFFER_SIZE);
save_pointer(NAME(buffer), BUFFER_SIZE);