diff options
| author | Johannes Schickel | 2012-06-17 17:17:06 -0700 |
|---|---|---|
| committer | Johannes Schickel | 2012-06-17 17:17:06 -0700 |
| commit | 1b1b1d6615c4555e133a59c2c221bae65853c1f2 (patch) | |
| tree | e4bdd0dcf39948fd595eac57ce214f3c55038639 /backends/platform/ps2/ps2time.cpp | |
| parent | 269ea2f6be551f3159c1e508e28ebd2a609f5ab0 (diff) | |
| parent | 249d48f77b395d82b8f2bb67360c5539212f5bc4 (diff) | |
| download | scummvm-rg350-1b1b1d6615c4555e133a59c2c221bae65853c1f2.tar.gz scummvm-rg350-1b1b1d6615c4555e133a59c2c221bae65853c1f2.tar.bz2 scummvm-rg350-1b1b1d6615c4555e133a59c2c221bae65853c1f2.zip | |
Merge pull request #244 from clone2727/football2002-wday
COMMON: Add tm_wday to our TimeDate struct
Diffstat (limited to 'backends/platform/ps2/ps2time.cpp')
| -rw-r--r-- | backends/platform/ps2/ps2time.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/platform/ps2/ps2time.cpp b/backends/platform/ps2/ps2time.cpp index 2c3275b2b2..decfc552ec 100644 --- a/backends/platform/ps2/ps2time.cpp +++ b/backends/platform/ps2/ps2time.cpp @@ -120,4 +120,9 @@ void OSystem_PS2::getTimeAndDate(TimeDate &t) const { t.tm_year = g_year + 100; t.tm_mday = g_day; t.tm_mon = g_month - 1; +#ifdef RELEASE_BUILD + #error getTimeAndDate() is not setting the day of the week +#else + t.tm_wday = 0; // FIXME +#endif } |
