summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/ds1207.cpp
diff options
context:
space:
mode:
author Paul-Arnold <98924583+Paul-Arnold@users.noreply.github.com>2022-08-19 14:50:17 +0100
committer GitHub <noreply@github.com>2022-08-19 23:50:17 +1000
commit171607573760c5e361f991aeecb6a7c61456d2b5 (patch)
tree424852cb9b94b5d03777399d6dbacb38c7579b7a /src/devices/machine/ds1207.cpp
parent19c91d2631b297b60f8df55e35615a938326dcc8 (diff)
machine/ds1207.cpp: Fixed initialisation of start time. (#10242)
Diffstat (limited to 'src/devices/machine/ds1207.cpp')
-rw-r--r--src/devices/machine/ds1207.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/ds1207.cpp b/src/devices/machine/ds1207.cpp
index 50597ec113c..49a361b68b1 100644
--- a/src/devices/machine/ds1207.cpp
+++ b/src/devices/machine/ds1207.cpp
@@ -614,7 +614,7 @@ void ds1207_device::rtc_clock_updated(int year, int month, int day, int day_of_w
const int month_to_day_conversion[ 12 ] = { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334 };
// put the seconds
- uint64_t m_startup_time = second;
+ m_startup_time = second;
// put the minutes
m_startup_time += minute * 60;