diff options
Diffstat (limited to 'src/mame/machine/rx01.cpp')
-rw-r--r-- | src/mame/machine/rx01.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/machine/rx01.cpp b/src/mame/machine/rx01.cpp index c1889eb6a8b..b4cb85869ea 100644 --- a/src/mame/machine/rx01.cpp +++ b/src/mame/machine/rx01.cpp @@ -80,11 +80,11 @@ void rx01_device::device_start() void rx01_device::device_reset() { - for(int i=0;i<2;i++) + for(auto & elem : m_image) { - m_image[i]->floppy_mon_w(0); // turn it on - m_image[i]->floppy_drive_set_controller(this); - m_image[i]->floppy_drive_set_rpm(360.); + elem->floppy_mon_w(0); // turn it on + elem->floppy_drive_set_controller(this); + elem->floppy_drive_set_rpm(360.); } m_rxes = 0; m_rxcs = 0; |