summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Robbbert <Robbbert@users.noreply.github.com>2019-10-28 19:15:26 +1100
committer Robbbert <Robbbert@users.noreply.github.com>2019-10-28 19:15:26 +1100
commit88aaa3cafa694368832ee98aa7c07ff983ae3b3e (patch)
treedb76b259b201678d685f4a23b1a5c7d85cdce5ad
parent16b63d2fe10bdbd37376d74176a05cc9ac816d51 (diff)
MT 07469: vboy: sprite elements are cut off.
-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))
{