diff options
Diffstat (limited to 'src/mame/video/sshangha.cpp')
-rw-r--r-- | src/mame/video/sshangha.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/sshangha.cpp b/src/mame/video/sshangha.cpp index a28b2b29c67..57d7edf11f6 100644 --- a/src/mame/video/sshangha.cpp +++ b/src/mame/video/sshangha.cpp @@ -35,7 +35,7 @@ UINT32 sshangha_state::screen_update_sshangha(screen_device &screen, bitmap_rgb3 m_sprgen1->draw_sprites(bitmap, cliprect, m_spriteram, 0x800, true); // I'm pretty sure only the original has the 2nd spriteram, used for the Japanese text on the 2nd scene (non-scrolling text) in the intro of the quest (3rd in JPN) mode - if (m_spriteram2 != NULL) + if (m_spriteram2 != nullptr) m_sprgen2->draw_sprites(bitmap, cliprect, m_spriteram2, 0x800, true); // flip screen @@ -58,7 +58,7 @@ UINT32 sshangha_state::screen_update_sshangha(screen_device &screen, bitmap_rgb3 m_deco_tilegen1->tilemap_1_draw(screen, bitmap, cliprect, 0, 0); } - if (m_spriteram2 != NULL) + if (m_spriteram2 != nullptr) m_sprgen2->inefficient_copy_sprite_bitmap(bitmap, cliprect, 0x0000, 0x0000, 0, 0x1ff); m_sprgen1->inefficient_copy_sprite_bitmap(bitmap, cliprect, 0x0000, 0x0200, 0, 0x1ff); |