summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2021-11-06 16:36:49 +0100
committer hap <happppp@users.noreply.github.com>2021-11-06 16:36:59 +0100
commitc8148093e39370cec2734e776d1a0db46b1f8a5a (patch)
treedbefff0b299481925b0febb9ae5ac5a3845cd206
parenta4629846be147224f5cecf254ec8c22d8163d0e8 (diff)
cps1: remove unneeded ( )
-rw-r--r--src/mame/video/cps1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/cps1.cpp b/src/mame/video/cps1.cpp
index 3f54d6215d4..49639eb078a 100644
--- a/src/mame/video/cps1.cpp
+++ b/src/mame/video/cps1.cpp
@@ -3176,7 +3176,7 @@ void cps_state::cps1_render_stars( screen_device &screen, bitmap_ind16 &bitmap,
sy = 256 - sy;
}
- int cnt = ((screen.frame_number() / 16 ) % ((col & 0x80) ? 15 : 16));
+ int cnt = (screen.frame_number() / 16) % ((col & 0x80) ? 15 : 16);
col = ((col & 0xe0) >> 1) + cnt;
if (cliprect.contains(sx, sy))
@@ -3202,7 +3202,7 @@ void cps_state::cps1_render_stars( screen_device &screen, bitmap_ind16 &bitmap,
sy = 256 - sy;
}
- int cnt = ((screen.frame_number() / 16 ) % ((col & 0x80) ? 15 : 16));
+ int cnt = (screen.frame_number() / 16) % ((col & 0x80) ? 15 : 16);
col = ((col & 0xe0) >> 1) + cnt;
if (cliprect.contains(sx, sy))