summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/msx_cart/halnote.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/msx_cart/halnote.cpp')
-rw-r--r--src/devices/bus/msx_cart/halnote.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/msx_cart/halnote.cpp b/src/devices/bus/msx_cart/halnote.cpp
index 63b298e67b0..d37354dd0a5 100644
--- a/src/devices/bus/msx_cart/halnote.cpp
+++ b/src/devices/bus/msx_cart/halnote.cpp
@@ -69,9 +69,9 @@ void msx_cart_halnote::restore_banks()
void msx_cart_halnote::device_reset()
{
- for (int i = 0; i < 8; i++)
+ for (auto & elem : m_selected_bank)
{
- m_selected_bank[i] = 0;
+ elem = 0;
}
}