First post, by realnc
- Rank
- Oldbie
On some platforms, current SVN fails to build with:
../src/hardware/mame/fmopl.cpp: In member function 'void {anonymous}::FM_OPL::WriteReg(int, int)':
../src/hardware/mame/fmopl.cpp:1735:50: error: invalid conversion from 'int*' to 'int32_t* {aka long int*}' [-fpermissive]
CH->SLOT[SLOT1].connect1 = CH->SLOT[SLOT1].CON ? &output[0] : &phase_modulation;
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/hardware/mame/fmopl.cpp: In member function 'void {anonymous}::FM_OPL::postload()':
../src/hardware/mame/fmopl.cpp:1838:29: error: invalid conversion from 'int*' to 'int32_t* {aka long int*}' [-fpermissive]
SLOT.connect1 = SLOT.CON ? &output[0] : &phase_modulation;
Similar for src/hardware/mame/ymf262.cpp.
The attached patch fixes it.