summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/model3.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-10-22 18:06:01 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-10-22 18:06:01 +0200
commitd01dd9360f0120b83050d31765e334bd170afd11 (patch)
tree3c31ac660ffab5da3832d9e9e8bf116a45379f36 /src/mame/video/model3.cpp
parent1446bd7ecddab41b0a0bdf2e933cfc0fd52e3bdd (diff)
cleanup of TRUE/FALSE in mame section (nw)
Diffstat (limited to 'src/mame/video/model3.cpp')
-rw-r--r--src/mame/video/model3.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/video/model3.cpp b/src/mame/video/model3.cpp
index 07a7a04f8bc..e8ec96fe7e6 100644
--- a/src/mame/video/model3.cpp
+++ b/src/mame/video/model3.cpp
@@ -1530,7 +1530,7 @@ void model3_state::draw_model(uint32_t addr)
uint32_t header[7];
int index = 0;
- int last_polygon = FALSE, first_polygon = TRUE, back_face = FALSE;
+ bool last_polygon = false, first_polygon = true, back_face = false;
int num_vertices;
int i, v, vi;
float fixed_point_fraction;
@@ -1575,13 +1575,13 @@ void model3_state::draw_model(uint32_t addr)
if (first_polygon && (header[0] & 0x0f) != 0)
return;
- first_polygon = FALSE;
+ first_polygon = false;
if (header[6] == 0)
return;
if (header[1] & 0x4)
- last_polygon = TRUE;
+ last_polygon = true;
if ((header[0] & 0x300) == 0x300) // TODO: broken polygons in srally2 have these bits set
return;