aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/dc/dcmain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/dc/dcmain.cpp')
-rw-r--r--backends/platform/dc/dcmain.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/platform/dc/dcmain.cpp b/backends/platform/dc/dcmain.cpp
index e21fd762c9..913bc9948e 100644
--- a/backends/platform/dc/dcmain.cpp
+++ b/backends/platform/dc/dcmain.cpp
@@ -190,6 +190,11 @@ bool OSystem_Dreamcast::getFeatureState(Feature f)
}
}
+void OSystem_Dreamcast::getTimeAndDate(struct tm &t) const {
+ time_t curTime;
+ time(&curTime);
+ t = *localtime(&curTime);
+}
void dc_init_hardware()
{