summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Ted Green <tedgreen99@inbox.com>2015-06-22 12:58:00 -0600
committer therealmogminer@gmail.com <therealmogminer@gmail.com>2015-06-23 21:02:58 +0200
commit0dcf906e4a9f3442e035a8d6f0d5efeb8f7ed513 (patch)
treeffa1d8dc4415af6fa57bf0a6b252d4439a98d1a7
parente68b933d06b629098a047418c7f97989dd3172f2 (diff)
Fix trying to read null pointer.
-rw-r--r--src/emu/video/vooddefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emu/video/vooddefs.h b/src/emu/video/vooddefs.h
index 17264ad8bc5..352d68497d4 100644
--- a/src/emu/video/vooddefs.h
+++ b/src/emu/video/vooddefs.h
@@ -4620,6 +4620,7 @@ static void raster_##name(void *destbase, INT32 y, const poly_extent *extent, co
} \
} \
}
+
INLINE UINT32 genTexture(tmu_state *TT, INT32 x, const UINT8 *dither4, const UINT32 TEXMODE, rgb_t *LOOKUP, INT32 LODBASE, INT64 ITERS, INT64 ITERT, INT64 ITERW, INT32 &lod)
{
UINT32 result;