mirror of
https://github.com/holub/mame
synced 2025-06-05 20:33:45 +03:00
Fix build break.
This commit is contained in:
parent
99d297a6fd
commit
6c3e96102e
@ -502,7 +502,7 @@ static WRITE16_HANDLER( scudhamm_paletteram16_w )
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static UINT16 scudhamm_motor_command;
|
UINT16 scudhamm_motor_command;
|
||||||
|
|
||||||
/* Motor Status.
|
/* Motor Status.
|
||||||
|
|
||||||
@ -512,14 +512,14 @@ static UINT16 scudhamm_motor_command;
|
|||||||
---- ---- ---- --1- Up Limit
|
---- ---- ---- --1- Up Limit
|
||||||
---- ---- ---- ---0 Down Limit */
|
---- ---- ---- ---0 Down Limit */
|
||||||
|
|
||||||
static READ16_HANDLER( scudhamm_motor_status_r )
|
READ16_HANDLER( scudhamm_motor_status_r )
|
||||||
{
|
{
|
||||||
// return 1 << (mame_rand(space->machine)&1); // Motor Status
|
// return 1 << (mame_rand(space->machine)&1); // Motor Status
|
||||||
return scudhamm_motor_command; // Motor Status
|
return scudhamm_motor_command; // Motor Status
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static READ16_HANDLER( scudhamm_motor_pos_r )
|
READ16_HANDLER( scudhamm_motor_pos_r )
|
||||||
{
|
{
|
||||||
return 0x00 << 8;
|
return 0x00 << 8;
|
||||||
}
|
}
|
||||||
@ -539,7 +539,7 @@ static WRITE16_HANDLER( scudhamm_motor_command_w )
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static READ16_HANDLER( scudhamm_analog_r )
|
READ16_HANDLER( scudhamm_analog_r )
|
||||||
{
|
{
|
||||||
return input_port_read(space->machine, "IN1");
|
return input_port_read(space->machine, "IN1");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user