diff options
author | Robert Göffringmann | 2008-03-03 00:41:59 +0000 |
---|---|---|
committer | Robert Göffringmann | 2008-03-03 00:41:59 +0000 |
commit | 3b27b9fa438611c3a05fcf2d07a3dfde6be192fa (patch) | |
tree | 8605c47d67b779fb33ce4dda3a64a7d3caecdb4d /common | |
parent | fc91de07dfdfe6bd29edadf739f324f30f5624d0 (diff) | |
download | scummvm-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.cpp | 3 |
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 } /* |