From e769e76ce4fb38d535cf32d27cf35c278ff207e0 Mon Sep 17 00:00:00 2001 From: Peter Ferrie Date: Mon, 4 Feb 2019 10:05:46 -0800 Subject: enable sub-second snapshot timers (nw) (#4493) * enable sub-second snapshot timers (nw) * switch to attotime, accept doubles * support LLVM extension in MSVC make vsllvm using extension from here: https://marketplace.visualstudio.com/items?itemName=LLVMExtensions.llvm-toolchain --- src/devices/imagedev/snapquik.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/devices/imagedev/snapquik.cpp') diff --git a/src/devices/imagedev/snapquik.cpp b/src/devices/imagedev/snapquik.cpp index 0e24b9f81ba..4126077513c 100644 --- a/src/devices/imagedev/snapquik.cpp +++ b/src/devices/imagedev/snapquik.cpp @@ -28,8 +28,6 @@ snapshot_image_device::snapshot_image_device(const machine_config &mconfig, devi device_image_interface(mconfig, *this), m_file_extensions(nullptr), m_interface(nullptr), - m_delay_seconds(0), - m_delay_attoseconds(0), m_timer(nullptr) { } @@ -67,7 +65,7 @@ void snapshot_image_device::device_start() image_init_result snapshot_image_device::call_load() { /* adjust the timer */ - m_timer->adjust(attotime(m_delay_seconds, m_delay_attoseconds),0); + m_timer->adjust(m_delay,0); return image_init_result::PASS; } -- cgit v1.2.3-70-g09d2