summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/segaxbd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/segaxbd.cpp')
-rw-r--r--src/mame/drivers/segaxbd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/segaxbd.cpp b/src/mame/drivers/segaxbd.cpp
index 8b26b9149b5..5758c0957c2 100644
--- a/src/mame/drivers/segaxbd.cpp
+++ b/src/mame/drivers/segaxbd.cpp
@@ -369,9 +369,9 @@ public:
: segaxbd_new_state(mconfig, type, tag),
m_subpcb(*this, "subpcb")
{
- for (int i = 0; i < 0x800; i++)
+ for (auto & elem : shareram)
{
- shareram[i] = 0x0000;
+ elem = 0x0000;
}
rampage1 = 0x0000;
rampage2 = 0x0000;