diff options
Diffstat (limited to 'src/mame/video/thunderj.cpp')
-rw-r--r-- | src/mame/video/thunderj.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/thunderj.cpp b/src/mame/video/thunderj.cpp index cf5f06c87d7..34cb3485248 100644 --- a/src/mame/video/thunderj.cpp +++ b/src/mame/video/thunderj.cpp @@ -122,7 +122,7 @@ UINT32 thunderj_state::screen_update_thunderj(screen_device &screen, bitmap_ind1 // draw and merge the MO bitmap_ind16 &mobitmap = m_vad->mob()->bitmap(); - for (const sparse_dirty_rect *rect = m_vad->mob()->first_dirty_rect(cliprect); rect != NULL; rect = rect->next()) + for (const sparse_dirty_rect *rect = m_vad->mob()->first_dirty_rect(cliprect); rect != nullptr; rect = rect->next()) for (int y = rect->min_y; y <= rect->max_y; y++) { UINT16 *mo = &mobitmap.pix16(y); @@ -220,7 +220,7 @@ UINT32 thunderj_state::screen_update_thunderj(screen_device &screen, bitmap_ind1 m_vad->alpha()->draw(screen, bitmap, cliprect, 0, 0); /* now go back and process the upper bit of MO priority */ - for (const sparse_dirty_rect *rect = m_vad->mob()->first_dirty_rect(cliprect); rect != NULL; rect = rect->next()) + for (const sparse_dirty_rect *rect = m_vad->mob()->first_dirty_rect(cliprect); rect != nullptr; rect = rect->next()) for (int y = rect->min_y; y <= rect->max_y; y++) { UINT16 *mo = &mobitmap.pix16(y); |