summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/digfx.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2016-09-03 10:01:39 -0400
committer AJR <ajrhacker@users.noreply.github.com>2016-09-03 10:01:39 -0400
commita237f50680afcae5fc763fc80fa07b3dd08b24eb (patch)
treee86717afcc37ff2d796fc46d734d2f7084b3611c /src/emu/digfx.cpp
parent0a8652e03f82e8bda55dcea445ce88b1c5038d1c (diff)
More consistent use of integer types in tilemap_t and other graphics-related classes (nw)
- Define indirect_pen_t, requiring a slight reordering of emu.h due to an unsurprising dependency
Diffstat (limited to 'src/emu/digfx.cpp')
-rw-r--r--src/emu/digfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/digfx.cpp b/src/emu/digfx.cpp
index d3763c9d82e..3ab059ee5e0 100644
--- a/src/emu/digfx.cpp
+++ b/src/emu/digfx.cpp
@@ -128,7 +128,7 @@ void device_gfx_interface::decode_gfx(const gfx_decode_entry *gfxdecodeinfo)
std::vector<UINT32> extyoffs(0);
// loop over all elements
- for (int curgfx = 0; curgfx < MAX_GFX_ELEMENTS && gfxdecodeinfo[curgfx].gfxlayout != nullptr; curgfx++)
+ for (UINT8 curgfx = 0; curgfx < MAX_GFX_ELEMENTS && gfxdecodeinfo[curgfx].gfxlayout != nullptr; curgfx++)
{
const gfx_decode_entry &gfx = gfxdecodeinfo[curgfx];