From 6994d0851737a3e0324abce2a3c335969a01b9de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Banaan=20Ananas?= Date: Sun, 30 Aug 2009 10:04:38 +0000 Subject: [PATCH] workaround for mingw32 gcc4 compiler crash Compiling src/mame/video/stvvdp2.c... src/mame/video/stvvdp2.c: In function 'stv_vdp2_draw_rotation_screen': src/mame/video/stvvdp2.c:4752: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. mingw32-make: *** [obj/windows/mamed/mame/video/stvvdp2.o] Error 1 --- src/mame/video/stvvdp2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mame/video/stvvdp2.c b/src/mame/video/stvvdp2.c index 840ae6d2c5c..d197da9fd26 100644 --- a/src/mame/video/stvvdp2.c +++ b/src/mame/video/stvvdp2.c @@ -4752,7 +4752,8 @@ static void stv_vdp2_draw_NBG3(running_machine *machine, bitmap_t *bitmap, const static void stv_vdp2_draw_rotation_screen(running_machine *machine, bitmap_t *bitmap, const rectangle *cliprect, int iRP) { rectangle roz_clip_rect, mycliprect; - int planesizex = 0, planesizey = 0, planerenderedsizex, planerenderedsizey; + int planesizex = 0, planesizey = 0; + int planerenderedsizex, planerenderedsizey; UINT8 colour_calculation_enabled; UINT8 window_control; UINT8 fade_control;