summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/r2dtank.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2011-12-31 07:52:26 +0000
committer Aaron Giles <aaron@aarongiles.com>2011-12-31 07:52:26 +0000
commit9cae38e0d82a71a20619c5ba49dce4eaa0bb0cc2 (patch)
tree56135caff0d5610acb3b1fc34b640853fe27b104 /src/mame/drivers/r2dtank.c
parent384b14a64b7e2a732b9b3429fc6d7aa443486c6c (diff)
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]
Diffstat (limited to 'src/mame/drivers/r2dtank.c')
-rw-r--r--src/mame/drivers/r2dtank.c2
1 files changed, 1 insertions, 1 deletions
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;
}