summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/nes/disksys.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-05-13 12:51:03 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-05-13 12:51:03 -0400
commit5b316c6d231e8ed95ea23317a897042930e1791e (patch)
tree9defe025da21bbb332691193911b7bde74bc56db /src/devices/bus/nes/disksys.cpp
parent48b45768a0e452f055ed52249ec0f3161a7370bc (diff)
nes: CPU clock (well, phase 2 clock) also received by cartridge slot (nw)
Diffstat (limited to 'src/devices/bus/nes/disksys.cpp')
-rw-r--r--src/devices/bus/nes/disksys.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/nes/disksys.cpp b/src/devices/bus/nes/disksys.cpp
index 1d1643e7e59..4b10af9d9ac 100644
--- a/src/devices/bus/nes/disksys.cpp
+++ b/src/devices/bus/nes/disksys.cpp
@@ -117,7 +117,7 @@ void nes_disksys_device::device_start()
m_disk->floppy_install_unload_proc(nes_disksys_device::unload_proc);
irq_timer = timer_alloc(TIMER_IRQ);
- irq_timer->adjust(attotime::zero, 0, machine().device<cpu_device>("maincpu")->cycles_to_attotime(1));
+ irq_timer->adjust(attotime::zero, 0, clocks_to_attotime(1));
save_item(NAME(m_fds_motor_on));
save_item(NAME(m_fds_door_closed));