Fix crash in gaelco3d.c (radikalb)

This commit is contained in:
Couriersud 2008-03-05 21:24:06 +00:00
parent 5b6183f898
commit 4bdccc433f

View File

@ -362,7 +362,7 @@ static READ32_HANDLER( input_port_3_020_r ) { return readinputport(3) << 16; }
static CUSTOM_INPUT( analog_bit_r )
{
int which = (FPTR)machine;
int which = (FPTR)param;
return (analog_ports[which] >> 7) & 0x01;
}