summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/mame/drivers/vboy.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/vboy.cpp b/src/mame/drivers/vboy.cpp
index 512925a51e8..2efc1d95614 100644
--- a/src/mame/drivers/vboy.cpp
+++ b/src/mame/drivers/vboy.cpp
@@ -223,8 +223,8 @@ void vboy_state::put_obj(bitmap_ind16 &bitmap, const rectangle &cliprect, int x,
if (dat)
{
- uint8_t const res_x = x + xi;
- uint8_t const res_y = y + yi;
+ uint16_t const res_x = x + xi;
+ uint16_t const res_y = y + yi;
if (cliprect.contains(res_x, res_y))
{