mirror of
https://github.com/holub/mame
synced 2025-05-19 03:59:35 +03:00
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:
parent
ede9da11b2
commit
e10e630314
@ -6576,19 +6576,17 @@ void megatech_set_megadrive_z80_as_megadrive_z80(running_machine *machine, const
|
|||||||
|
|
||||||
DRIVER_INIT( _32x )
|
DRIVER_INIT( _32x )
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
_32x_dram0 = auto_alloc_array(machine, UINT16, 0x40000/2);
|
_32x_dram0 = auto_alloc_array(machine, UINT16, 0x40000/2);
|
||||||
_32x_dram1 = auto_alloc_array(machine, UINT16, 0x40000/2);
|
_32x_dram1 = auto_alloc_array(machine, UINT16, 0x40000/2);
|
||||||
|
|
||||||
memset(_32x_dram0, 0x00, 0x40000);
|
memset(_32x_dram0, 0x00, 0x40000);
|
||||||
memset(_32x_dram1, 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_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_lookup, 0x00, 0x200);
|
||||||
|
memset(_32x_palette, 0x00, 0x200);
|
||||||
|
|
||||||
|
|
||||||
_32x_display_dram = _32x_dram0;
|
_32x_display_dram = _32x_dram0;
|
||||||
|
Loading…
Reference in New Issue
Block a user