diff options
| author | 2008-08-19 07:17:30 +0000 | |
|---|---|---|
| committer | 2008-08-19 07:17:30 +0000 | |
| commit | e959018aa8ee0964e0a59de3378a39da6e08e016 (patch) | |
| tree | a9454ece8293019e4cd2f00ecd98878f3c3c3c5b | |
| parent | 76be0ad854930e429a7c15286dbf9eb8aa4fa311 (diff) | |
02105: qbert and clones: Misplaced graphics
| -rw-r--r-- | src/mame/video/gottlieb.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mame/video/gottlieb.c b/src/mame/video/gottlieb.c index be11ac78fc4..aebce18a6ea 100644 --- a/src/mame/video/gottlieb.c +++ b/src/mame/video/gottlieb.c @@ -172,7 +172,12 @@ VIDEO_START( gottlieb ) static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const rectangle *cliprect) { + rectangle clip = *cliprect; int offs; + + /* this is a temporary guess until the sprite hardware is better understood */ + /* there is some additional clipping, but this may not be it */ + clip.min_x = 8; for (offs = 0; offs < 256; offs += 4) { @@ -189,7 +194,7 @@ static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const recta code, 0, flip_screen_x_get(), flip_screen_y_get(), sx,sy, - cliprect, + &clip, TRANSPARENCY_PEN, 0); } } |
