summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/route16.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/route16.cpp')
-rw-r--r--src/mame/video/route16.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/video/route16.cpp b/src/mame/video/route16.cpp
index 9d2dc225ac8..97b71c584cd 100644
--- a/src/mame/video/route16.cpp
+++ b/src/mame/video/route16.cpp
@@ -87,13 +87,13 @@ uint32_t route16_state::screen_update_route16(screen_device &screen, bitmap_rgb3
uint8_t final_color = (color1 | color2) & 0x07;
if (m_flipscreen)
- bitmap.pix32(255 - y, 255 - x) = m_palette->pen_color(final_color);
+ bitmap.pix(255 - y, 255 - x) = m_palette->pen_color(final_color);
else
- bitmap.pix32(y, x) = m_palette->pen_color(final_color);
+ bitmap.pix(y, x) = m_palette->pen_color(final_color);
- x = x + 1;
- data1 = data1 >> 1;
- data2 = data2 >> 1;
+ x++;
+ data1 >>= 1;
+ data2 >>= 1;
}
}
@@ -134,13 +134,13 @@ uint32_t route16_state::screen_update_jongpute(screen_device &screen, bitmap_rgb
uint8_t final_color = (color1 | color2) & 0x07;
if (m_flipscreen)
- bitmap.pix32(255 - y, 255 - x) = m_palette->pen_color(final_color);
+ bitmap.pix(255 - y, 255 - x) = m_palette->pen_color(final_color);
else
- bitmap.pix32(y, x) = m_palette->pen_color(final_color);
+ bitmap.pix(y, x) = m_palette->pen_color(final_color);
- x = x + 1;
- data1 = data1 >> 1;
- data2 = data2 >> 1;
+ x++;
+ data1 >>= 1;
+ data2 >>= 1;
}
}