I'm getting an internal compiler error here. Committing a fix (by just swapping some code, no functional changes) in case other people are getting/will get the error too. (no whatsnew)

This commit is contained in:
Michaël Banaan Ananas 2010-05-16 16:51:31 +00:00
parent ede9da11b2
commit e10e630314

View File

@ -6576,19 +6576,17 @@ void megatech_set_megadrive_z80_as_megadrive_z80(running_machine *machine, const
DRIVER_INIT( _32x )
{
_32x_dram0 = auto_alloc_array(machine, UINT16, 0x40000/2);
_32x_dram1 = auto_alloc_array(machine, UINT16, 0x40000/2);
memset(_32x_dram0, 0x00, 0x40000);
memset(_32x_dram1, 0x00, 0x40000);
_32x_palette = auto_alloc_array(machine, UINT16, 0x200/2);
_32x_palette_lookup = auto_alloc_array(machine, UINT16, 0x200/2);
_32x_palette = auto_alloc_array(machine, UINT16, 0x200/2);
memset(_32x_palette, 0x00, 0x200);
memset(_32x_palette_lookup, 0x00, 0x200);
memset(_32x_palette, 0x00, 0x200);
_32x_display_dram = _32x_dram0;