summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/beta.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2014-04-02 11:59:10 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2014-04-02 11:59:10 +0000
commitb1c2c8daeeca433652f2a5055c9aeef27406c520 (patch)
treecd6a0c46bd8a428628061e5c7c2483735b5c6e71 /src/mess/machine/beta.c
parent06238c1cdb21b8c0d1ea7a8fbcf967f6e297d8bc (diff)
modernized access for legacy floppy, quite straight forward thing (nw)
Diffstat (limited to 'src/mess/machine/beta.c')
-rw-r--r--src/mess/machine/beta.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mess/machine/beta.c b/src/mess/machine/beta.c
index aa7dd8cf726..7f2beec1194 100644
--- a/src/mess/machine/beta.c
+++ b/src/mess/machine/beta.c
@@ -158,9 +158,9 @@ WRITE8_MEMBER(beta_disk_device::param_w)
}
// bit 3 connected to pin 23 "HRDY" of FDC
// TEMP HACK, FDD motor and RDY FDC pin controlled by HLD pin of FDC
- device_t *flop = subdevice(beta_wd17xx_interface.floppy_drive_tags[data & 3]);
- floppy_mon_w(flop, CLEAR_LINE);
- floppy_drive_set_ready_state(flop, 1, 0);
+ legacy_floppy_image_device *flop = subdevice<legacy_floppy_image_device>(beta_wd17xx_interface.floppy_drive_tags[data & 3]);
+ flop->floppy_mon_w(CLEAR_LINE);
+ flop->floppy_drive_set_ready_state(1, 0);
}
}