summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/kingdrby.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2012-01-16 11:06:28 +0000
committer Aaron Giles <aaron@aarongiles.com>2012-01-16 11:06:28 +0000
commit59d84eb1b05c653c1e5c727e648e807bc8340baf (patch)
tree837413310dbe2d9b678860c072206bb244e8e693 /src/mame/drivers/kingdrby.c
parent051af55fa90955e11ba7fb08b586ba3227c4f7d1 (diff)
Fix several rendering issues with artwork, introduced in the
recent changes. Also, did a pass through the code to take advantage of new methods available on rectangles.
Diffstat (limited to 'src/mame/drivers/kingdrby.c')
-rw-r--r--src/mame/drivers/kingdrby.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mame/drivers/kingdrby.c b/src/mame/drivers/kingdrby.c
index df0edf0c3a6..28d596c9e2c 100644
--- a/src/mame/drivers/kingdrby.c
+++ b/src/mame/drivers/kingdrby.c
@@ -222,10 +222,7 @@ static SCREEN_UPDATE_IND16(kingdrby)
tilemap_set_scrolly( state->m_sc0w_tilemap,0, 32);
/* maybe it needs two window tilemaps? (one at the top, the other at the bottom)*/
- clip.min_x = visarea.min_x;
- clip.max_x = 256;
- clip.min_y = 192;
- clip.max_y = visarea.max_y;
+ clip.set(visarea.min_x, 256, 192, visarea.max_y);
/*TILEMAP_DRAW_CATEGORY + TILEMAP_DRAW_OPAQUE doesn't suit well?*/
tilemap_draw(bitmap,cliprect,state->m_sc0_tilemap,0,0);