summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/coco/cococart.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2017-12-28 21:21:03 -0500
committer AJR <ajrhacker@users.noreply.github.com>2017-12-30 12:12:02 -0500
commit9f1fd2676eb21c6e7e39b998a9de0568e9df12e4 (patch)
treeeeb691ed357905f6851e1d30bd583c2279c63e5b /src/devices/bus/coco/cococart.cpp
parent056dbde5389f83fb7f894bc788f8f0d82ca1d921 (diff)
The great CoCo/Dragon clock correction (nw)
- Replace fake XTAL values with actual ones - Correct SAM and GIME clocks - Make sam6883_friend_device a subclass of device_interface - Remove legacy 6809E device from MAME
Diffstat (limited to 'src/devices/bus/coco/cococart.cpp')
-rw-r--r--src/devices/bus/coco/cococart.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/coco/cococart.cpp b/src/devices/bus/coco/cococart.cpp
index cad9dc56ad3..30ac0b04fdc 100644
--- a/src/devices/bus/coco/cococart.cpp
+++ b/src/devices/bus/coco/cococart.cpp
@@ -249,7 +249,7 @@ void cococart_slot_device::set_line_timer(coco_cartridge_line &line, cococart_sl
{
// calculate delay; delay dependant on cycles per second
attotime delay = (line.delay != 0)
- ? machine().firstcpu->cycles_to_attotime(line.delay)
+ ? clocks_to_attotime(line.delay)
: attotime::zero;
line.timer[line.timer_index]->adjust(delay, (int) value);