summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/irisha.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/irisha.cpp')
-rw-r--r--src/mame/drivers/irisha.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/mame/drivers/irisha.cpp b/src/mame/drivers/irisha.cpp
index e986c5562c2..0a51a6b624e 100644
--- a/src/mame/drivers/irisha.cpp
+++ b/src/mame/drivers/irisha.cpp
@@ -207,17 +207,15 @@ INPUT_PORTS_END
uint32_t irisha_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- uint8_t gfx;
- uint16_t y,ma=0,x;
- uint16_t *p;
+ uint16_t ma=0;
- for (y = 0; y < 200; y++)
+ for (uint16_t y = 0; y < 200; y++)
{
- p = &bitmap.pix16(y);
+ uint16_t *p = &bitmap.pix(y);
- for (x = ma; x < ma+40; x++)
+ for (uint16_t x = ma; x < ma+40; x++)
{
- gfx = m_p_videoram[x];
+ uint8_t const gfx = m_p_videoram[x];
/* Display a scanline of a character */
*p++ = BIT(gfx, 7);