summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/msx_cart/korean.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/msx_cart/korean.cpp')
-rw-r--r--src/devices/bus/msx_cart/korean.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/msx_cart/korean.cpp b/src/devices/bus/msx_cart/korean.cpp
index 0fb2e1bb6b4..f1dedeb9874 100644
--- a/src/devices/bus/msx_cart/korean.cpp
+++ b/src/devices/bus/msx_cart/korean.cpp
@@ -107,9 +107,9 @@ msx_cart_korean_90in1::msx_cart_korean_90in1(const machine_config &mconfig, cons
, m_bank_mask(0)
, m_selected_bank(0)
{
- for (int i = 0; i < 4; i++)
+ for (auto & elem : m_bank_base)
{
- m_bank_base[i] = nullptr;
+ elem = nullptr;
}
}