aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2012-06-19 01:48:21 +0200
committerJohannes Schickel2012-06-19 01:48:21 +0200
commitf92f9f9faf34d378939761e211649572ec72cd25 (patch)
treefc69da053574f9dc4b3a6c159aa9a679ef852afc
parent88512351d0e265bec0f85c09a7cc9bb388fef4f4 (diff)
downloadscummvm-rg350-f92f9f9faf34d378939761e211649572ec72cd25.tar.gz
scummvm-rg350-f92f9f9faf34d378939761e211649572ec72cd25.tar.bz2
scummvm-rg350-f92f9f9faf34d378939761e211649572ec72cd25.zip
PS2: Small formatting fixes.
-rw-r--r--backends/platform/ps2/ps2time.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/ps2/ps2time.cpp b/backends/platform/ps2/ps2time.cpp
index 124c154d06..1cddd230a0 100644
--- a/backends/platform/ps2/ps2time.cpp
+++ b/backends/platform/ps2/ps2time.cpp
@@ -107,9 +107,9 @@ void OSystem_PS2::readRtcTime(void) {
// Tomohiko Sakamoto's 1993 algorithm for any Gregorian date
static int dayOfWeek(int y, int m, int d) {
- static const int t[] = {0, 3, 2, 5, 0, 3, 5, 1, 4, 6, 2, 4};
+ static const int t[] = { 0, 3, 2, 5, 0, 3, 5, 1, 4, 6, 2, 4 };
y -= m < 3;
- return (y + y/4 - y/100 + y/400 + t[m-1] + d) % 7;
+ return (y + y / 4 - y / 100 + y / 400 + t[m - 1] + d) % 7;
}
void OSystem_PS2::getTimeAndDate(TimeDate &t) const {