diff options
Diffstat (limited to 'src/mame/video/atarisy1.cpp')
-rw-r--r-- | src/mame/video/atarisy1.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/atarisy1.cpp b/src/mame/video/atarisy1.cpp index 36c0ecddc18..992609effa4 100644 --- a/src/mame/video/atarisy1.cpp +++ b/src/mame/video/atarisy1.cpp @@ -470,7 +470,7 @@ UINT32 atarisy1_state::screen_update_atarisy1(screen_device &screen, bitmap_ind1 // draw and merge the MO bitmap_ind16 &mobitmap = m_mob->bitmap(); - for (const sparse_dirty_rect *rect = m_mob->first_dirty_rect(cliprect); rect != NULL; rect = rect->next()) + for (const sparse_dirty_rect *rect = m_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); @@ -608,7 +608,7 @@ int atarisy1_state::get_bank(UINT8 prom1, UINT8 prom2, int bpp) /* don't have one? let's make it ... first find any empty slot */ for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) - if (m_gfxdecode->gfx(gfx_index) == NULL) + if (m_gfxdecode->gfx(gfx_index) == nullptr) break; assert(gfx_index != MAX_GFX_ELEMENTS); |