aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorRobert Göffringmann2008-03-03 00:41:59 +0000
committerRobert Göffringmann2008-03-03 00:41:59 +0000
commit3b27b9fa438611c3a05fcf2d07a3dfde6be192fa (patch)
tree8605c47d67b779fb33ce4dda3a64a7d3caecdb4d /common
parentfc91de07dfdfe6bd29edadf739f324f30f5624d0 (diff)
downloadscummvm-rg350-3b27b9fa438611c3a05fcf2d07a3dfde6be192fa.tar.gz
scummvm-rg350-3b27b9fa438611c3a05fcf2d07a3dfde6be192fa.tar.bz2
scummvm-rg350-3b27b9fa438611c3a05fcf2d07a3dfde6be192fa.zip
the ps2 changes from the 0.11.1 release, plus some bugfixes and cleanup.
svn-id: r31034
Diffstat (limited to 'common')
-rw-r--r--common/system.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/system.cpp b/common/system.cpp
index 77cfe17e95..05c56bdd52 100644
--- a/common/system.cpp
+++ b/common/system.cpp
@@ -125,8 +125,11 @@ void OSystem::clearScreen() {
}
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
}
/*