diff options
Diffstat (limited to 'src/mame/video/rungun.cpp')
-rw-r--r-- | src/mame/video/rungun.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/rungun.cpp b/src/mame/video/rungun.cpp index 58787e9a72b..9fb6e2b62e4 100644 --- a/src/mame/video/rungun.cpp +++ b/src/mame/video/rungun.cpp @@ -89,7 +89,7 @@ void rungun_state::video_start() /* find first empty slot to decode gfx */ for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) - if (m_gfxdecode->gfx(gfx_index) == 0) + if (m_gfxdecode->gfx(gfx_index) == nullptr) break; assert(gfx_index != MAX_GFX_ELEMENTS); |