From 3b27b9fa438611c3a05fcf2d07a3dfde6be192fa Mon Sep 17 00:00:00 2001 From: Robert Göffringmann Date: Mon, 3 Mar 2008 00:41:59 +0000 Subject: the ps2 changes from the 0.11.1 release, plus some bugfixes and cleanup. svn-id: r31034 --- common/system.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common') 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 } /* -- cgit v1.2.3