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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/naomim1.cpp b/src/mame/machine/naomim1.cpp
index 5b16f278fb7..c9e5bc1c359 100644
--- a/src/mame/machine/naomim1.cpp
+++ b/src/mame/machine/naomim1.cpp
@@ -159,8 +159,8 @@ void naomi_m1_board::enc_reset()
has_history = false;
buffer_actual_size = 0;
- for(int i=0; i<111; i++)
- dict[i] = getb(8);
+ for(auto & elem : dict)
+ elem = getb(8);
}
void naomi_m1_board::wb(UINT8 byte)