Removed an instance of DEVCB_LINE. (nw)

This commit is contained in:
Curt Coder 2014-03-16 11:34:37 +00:00
parent 37cb16a67f
commit 36964d1f08
2 changed files with 5 additions and 3 deletions

View File

@ -564,15 +564,16 @@ static INPUT_PORTS_START ( t9000 )
PORT_INCLUDE ( to7 )
INPUT_PORTS_END
static WRITE_LINE_DEVICE_HANDLER(thomson_index_callback)
WRITE_LINE_MEMBER( thomson_state::fdc_index_w )
{
device->machine().driver_data<thomson_state>()->thomson_index_callback(device, state);
device_t *device = machine().device<wd2793_device>("wd2793");
thomson_index_callback(device, state);
}
static const floppy_interface thomson_floppy_interface =
{
DEVCB_LINE(thomson_index_callback),
DEVCB_DRIVER_LINE_MEMBER(thomson_state, fdc_index_w),
DEVCB_NULL,
DEVCB_NULL,
DEVCB_NULL,

View File

@ -296,6 +296,7 @@ public:
DECLARE_WRITE8_MEMBER( to7_floppy_w );
DECLARE_READ8_MEMBER( to9_floppy_r );
DECLARE_WRITE8_MEMBER( to9_floppy_w );
WRITE_LINE_MEMBER( fdc_index_w );
void thomson_index_callback(device_t *device, int state);
DECLARE_PALETTE_INIT(thom);