aboutsummaryrefslogtreecommitdiff
path: root/common/system.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/system.cpp')
-rw-r--r--common/system.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/common/system.cpp b/common/system.cpp
index 8c9ca46da6..9334185d05 100644
--- a/common/system.cpp
+++ b/common/system.cpp
@@ -35,8 +35,6 @@
#include "gui/message.h"
#include "sound/mixer.h"
-#include <time.h>
-
OSystem *g_system = 0;
OSystem::OSystem() {
@@ -124,14 +122,6 @@ void OSystem::clearScreen() {
unlockScreen();
}
-void OSystem::getTimeAndDate(struct tm &t) const {
-#ifndef __PLAYSTATION2__
- // PS2SDK doesn't provide localtime, so this code doesn't compile
- time_t curTime = time(0);
- t = *localtime(&curTime);
-#endif
-}
-
/*
* Include header files needed for the getFilesystemFactory() method.
*