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 <http://gcc.gnu.org/bugs.html> for instructions.
mingw32-make: *** [obj/windows/mamed/mame/video/stvvdp2.o] Error 1
This commit is contained in:
Michaël Banaan Ananas 2009-08-30 10:04:38 +00:00
parent e745712bba
commit 6994d08517

View File

@ -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;