From 0dcf906e4a9f3442e035a8d6f0d5efeb8f7ed513 Mon Sep 17 00:00:00 2001 From: Ted Green Date: Mon, 22 Jun 2015 12:58:00 -0600 Subject: [PATCH] Fix trying to read null pointer. --- src/emu/video/vooddefs.h | 1 + 1 file changed, 1 insertion(+) 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;