mirror of
https://github.com/holub/mame
synced 2025-04-24 01:11:11 +03:00
change to subdevice for amiga_fdc (nw)
This commit is contained in:
parent
655b50ad16
commit
af4133fd7f
@ -63,9 +63,9 @@ amiga_fdc::amiga_fdc(const machine_config &mconfig, const char *tag, device_t *o
|
||||
|
||||
void amiga_fdc::device_start()
|
||||
{
|
||||
static const char *names[] = { "fdc:0", "fdc:1", "fdc:2", "fdc:3" };
|
||||
static const char *names[] = { "0", "1", "2", "3" };
|
||||
for(int i=0; i != 4; i++) {
|
||||
floppy_connector *con = machine().device<floppy_connector>(names[i]);
|
||||
floppy_connector *con = subdevice<floppy_connector>(names[i]);
|
||||
if(con)
|
||||
floppy_devices[i] = con->get_device();
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user