summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/ds1302.h
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2016-10-09 21:53:38 -0400
committer AJR <ajrhacker@users.noreply.github.com>2016-10-09 22:04:32 -0400
commit0d2d4cab4fdfa14d2ef65f2245e82ca4a5c8f2fd (patch)
treee7b7ee41c5f392d750f2268d459f81d3c6839f7d /src/devices/machine/ds1302.h
parentfd94538c211312aff801ee3decfb1e090ad40218 (diff)
Soft resets no longer turn back clocks on devices
device_rtc_interface: Cleanups and refinements (nw) - Give RTCs their own phase of machine initialization, right after NVRAM loading - Make RTC feature flag overrides const, including one new one - Make rtc_clock_updated a required override
Diffstat (limited to 'src/devices/machine/ds1302.h')
-rw-r--r--src/devices/machine/ds1302.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/ds1302.h b/src/devices/machine/ds1302.h
index 515613579b2..6afbc9ea9a4 100644
--- a/src/devices/machine/ds1302.h
+++ b/src/devices/machine/ds1302.h
@@ -18,7 +18,7 @@
#ifndef __DS1302_H__
#define __DS1302_H__
-#include "emu.h"
+#include "dirtc.h"
@@ -63,7 +63,7 @@ protected:
// device_rtc_interface overrides
virtual void rtc_clock_updated(int year, int month, int day, int day_of_week, int hour, int minute, int second) override;
- virtual bool rtc_feature_leap_year() override { return true; }
+ virtual bool rtc_feature_leap_year() const override { return true; }
private:
void load_shift_register();