From 1067adb1a1a70884c31a8403408a353640e900ac Mon Sep 17 00:00:00 2001 From: davidhay Date: Mon, 4 May 2009 12:24:11 +0000 Subject: [PATCH] fix out of bounds write issue (wrong array dimensions of buffer) on new Naomi rendering code, was causing various glitches [Olivier Galibert] --- src/mame/video/dc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/video/dc.c b/src/mame/video/dc.c index 09810e43a70..d104fc16f45 100644 --- a/src/mame/video/dc.c +++ b/src/mame/video/dc.c @@ -28,7 +28,7 @@ static int pvr_parameterconfig[64]; static UINT32 dilated0[15][1024]; static UINT32 dilated1[15][1024]; static int dilatechose[64]; -static float wbuffer[640][480]; +static float wbuffer[480][640]; UINT64 *dc_texture_ram; static UINT32 tafifo_buff[32];