From 9cae38e0d82a71a20619c5ba49dce4eaa0bb0cc2 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Sat, 31 Dec 2011 07:52:26 +0000 Subject: Converted bitmap_t and rectangle into proper classes. Replaced BITMAP_ADDR* macros with bitmap->pix* functions, and moved bitmap_fill() to bitmap->fill() among other similar changes. Bitmap fields now only available via accessors. Replaced sect_rect with &= and union_rect with |= operators for rectangle classes. Some general cleanup as a result of these changes. [Aaron Giles] --- src/mame/drivers/r2dtank.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mame/drivers/r2dtank.c') diff --git a/src/mame/drivers/r2dtank.c b/src/mame/drivers/r2dtank.c index bce26e4b8fa..84d056d7c50 100644 --- a/src/mame/drivers/r2dtank.c +++ b/src/mame/drivers/r2dtank.c @@ -366,7 +366,7 @@ static MC6845_UPDATE_ROW( update_row ) } color = bit ? fore_color : RGB_BLACK; - *BITMAP_ADDR32(bitmap, y, x) = pens[color]; + bitmap->pix32(y, x) = pens[color]; x = x + 1; } -- cgit v1.2.3