diff options
author | 2012-01-02 04:59:11 +0000 | |
---|---|---|
committer | 2012-01-02 04:59:11 +0000 | |
commit | 80cd316a2ad134c67ca028a606266bb733a025b6 (patch) | |
tree | e198baaf50207b99fd46fb4696cdcda17e94ab65 /src/emu/video/hd44102.c | |
parent | 1ded844ee73ec0768de1b7ccba5491c92fd4ad5a (diff) |
Bulk conversion of bitmap_t * to bitmap_t & . With this change the
parameters for the global SCREEN_UPDATE callback match the parameters
for the driver_device version. Added allocate() and deallocate()
methods to bitmap_t to permit cleaner handling of bitmaps in drivers
and modern devices. [Aaron Giles]
Diffstat (limited to 'src/emu/video/hd44102.c')
-rw-r--r-- | src/emu/video/hd44102.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/video/hd44102.c b/src/emu/video/hd44102.c index ccf9588b11e..34570730980 100644 --- a/src/emu/video/hd44102.c +++ b/src/emu/video/hd44102.c @@ -271,7 +271,7 @@ WRITE_LINE_MEMBER( hd44102_device::cs2_w ) // update_screen - update screen //------------------------------------------------- -void hd44102_device::update_screen(bitmap_t *bitmap, const rectangle &cliprect) +void hd44102_device::update_screen(bitmap_t &bitmap, const rectangle &cliprect) { for (int y = 0; y < 50; y++) { @@ -288,7 +288,7 @@ void hd44102_device::update_screen(bitmap_t *bitmap, const rectangle &cliprect) { int color = (m_status & STATUS_DISPLAY_OFF) ? 0 : BIT(data, z % 8); - bitmap->pix16(sy, sx) = color; + bitmap.pix16(sy, sx) = color; } z++; |