summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/raiden2.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-12-04 10:29:21 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2015-12-04 10:29:21 +0100
commit1b0ec08af5cd3b3268b5889ba4e30409431434e2 (patch)
tree42c510afaaeb15e1f97eff044a4d295586c30aaa /src/mame/drivers/raiden2.cpp
parent5a2f80dcde2e76356bf568f1e2d71b054a7db45b (diff)
clang-modernize part 6
Diffstat (limited to 'src/mame/drivers/raiden2.cpp')
-rw-r--r--src/mame/drivers/raiden2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/raiden2.cpp b/src/mame/drivers/raiden2.cpp
index dce9db01f60..661f7fd9e27 100644
--- a/src/mame/drivers/raiden2.cpp
+++ b/src/mame/drivers/raiden2.cpp
@@ -2988,8 +2988,8 @@ const UINT16 raiden2_state::raiden_blended_colors[] = {
void raiden2_state::init_blending(const UINT16 *table)
{
- for(int i=0; i<0x800; i++)
- blend_active[i] = false;
+ for(auto & elem : blend_active)
+ elem = false;
while(*table != 0xffff)
blend_active[*table++] = true;
}