summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/huc6272.cpp
diff options
context:
space:
mode:
author mooglyguy <therealmogminer@gmail.com>2018-08-02 11:33:50 +0200
committer mooglyguy <therealmogminer@gmail.com>2018-08-02 11:34:03 +0200
commit5f484e857ef65d086dc3c9913ba56ee4c67491b5 (patch)
treed03cf610288fe6ff6ad3aa5bd05e828e449ec652 /src/devices/video/huc6272.cpp
parent992dbc98d198c99953259559672e3b81a1b0eb89 (diff)
Make OG happier about output latches, nw
Diffstat (limited to 'src/devices/video/huc6272.cpp')
-rw-r--r--src/devices/video/huc6272.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/devices/video/huc6272.cpp b/src/devices/video/huc6272.cpp
index ffe856c1270..3755a1d870d 100644
--- a/src/devices/video/huc6272.cpp
+++ b/src/devices/video/huc6272.cpp
@@ -392,14 +392,7 @@ void huc6272_device::device_add_mconfig(machine_config &config)
scsibus.sel_handler().set("scsi_ctrl_in", FUNC(input_buffer_device::write_bit1));
output_latch_device &scsiout(OUTPUT_LATCH(config, "scsi_data_out"));
- scsiout.bit_handler<0>().set("scsi", FUNC(scsi_port_device::write_data0));
- scsiout.bit_handler<1>().set("scsi", FUNC(scsi_port_device::write_data1));
- scsiout.bit_handler<2>().set("scsi", FUNC(scsi_port_device::write_data2));
- scsiout.bit_handler<3>().set("scsi", FUNC(scsi_port_device::write_data3));
- scsiout.bit_handler<4>().set("scsi", FUNC(scsi_port_device::write_data4));
- scsiout.bit_handler<5>().set("scsi", FUNC(scsi_port_device::write_data5));
- scsiout.bit_handler<6>().set("scsi", FUNC(scsi_port_device::write_data6));
- scsiout.bit_handler<7>().set("scsi", FUNC(scsi_port_device::write_data7));
+ scsibus.set_output_latch(scsiout);
INPUT_BUFFER(config, "scsi_ctrl_in");
INPUT_BUFFER(config, "scsi_data_in");