summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/macseconds.cpp
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2025-08-01 13:04:35 +0200
committer hap <happppp@users.noreply.github.com>2025-08-01 13:04:35 +0200
commit468dfe69a4ba94411359252fca284b69601d56d7 (patch)
tree5b9201f6cfe7909cc8d76062a5abd94658367524 /src/devices/machine/macseconds.cpp
parent7b9d16fda9f7f3677b48621c99eeba9fd8e36c7a (diff)
macseconds: correct include order
Diffstat (limited to 'src/devices/machine/macseconds.cpp')
-rw-r--r--src/devices/machine/macseconds.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/devices/machine/macseconds.cpp b/src/devices/machine/macseconds.cpp
index 7ed18bc69f4..5332590d933 100644
--- a/src/devices/machine/macseconds.cpp
+++ b/src/devices/machine/macseconds.cpp
@@ -8,11 +8,11 @@
(seconds since 1/1/1904 at midnight).
*/
-#include "dirtc.h"
-
#include "emu.h"
#include "macseconds.h"
+#include "dirtc.h"
+
macseconds_interface::macseconds_interface()
{
// Get the current time to get the DST flag and compute the offset from GMT
@@ -35,8 +35,7 @@ u32 macseconds_interface::get_local_seconds(system_time &systime)
{
const system_time::full_time &time = systime.local_time;
- return get_seconds(time.year - 2000, time.month + 1, time.mday, time.weekday + 1, time.hour,
- time.minute, time.second);
+ return get_seconds(time.year - 2000, time.month + 1, time.mday, time.weekday + 1, time.hour, time.minute, time.second);
}
u32 macseconds_interface::get_seconds(int year, int month, int day, int day_of_week, int hour, int minute, int second)