summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/naomim1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/naomim1.c')
-rw-r--r--src/mame/machine/naomim1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/naomim1.c b/src/mame/machine/naomim1.c
index 5ee80cc62bd..16d2389d032 100644
--- a/src/mame/machine/naomim1.c
+++ b/src/mame/machine/naomim1.c
@@ -31,7 +31,7 @@ void naomi_m1_board::device_start()
{
naomi_board::device_start();
- const UINT8 *key_data = machine().region(key_tag)->base();
+ const UINT8 *key_data = memregion(key_tag)->base();
key = (key_data[0] << 24) | (key_data[1] << 16) | (key_data[2] << 8) | key_data[3];
buffer = auto_alloc_array(machine(), UINT8, BUFFER_SIZE);