summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/taitojc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/taitojc.cpp')
-rw-r--r--src/mame/video/taitojc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/taitojc.cpp b/src/mame/video/taitojc.cpp
index fd9493160fd..ecca7b3ff0e 100644
--- a/src/mame/video/taitojc.cpp
+++ b/src/mame/video/taitojc.cpp
@@ -304,7 +304,7 @@ void taitojc_state::video_start()
{
/* find first empty slot to decode gfx */
for (m_gfx_index = 0; m_gfx_index < MAX_GFX_ELEMENTS; m_gfx_index++)
- if (m_gfxdecode->gfx(m_gfx_index) == 0)
+ if (m_gfxdecode->gfx(m_gfx_index) == nullptr)
break;
assert(m_gfx_index != MAX_GFX_ELEMENTS);