diff options
Diffstat (limited to 'src/devices/bus/nes/event.cpp')
-rw-r--r-- | src/devices/bus/nes/event.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/nes/event.cpp b/src/devices/bus/nes/event.cpp index 3f6065f449d..6fd85256f7e 100644 --- a/src/devices/bus/nes/event.cpp +++ b/src/devices/bus/nes/event.cpp @@ -52,7 +52,7 @@ void nes_event_device::device_start() common_start(); event_timer = timer_alloc(TIMER_EVENT); event_timer->adjust(attotime::never); - timer_freq = machine().device<cpu_device>("maincpu")->cycles_to_attotime(1); + timer_freq = clocks_to_attotime(1); save_item(NAME(m_latch)); save_item(NAME(m_count)); |