noticed some strange check day of week calls, we are not returning the correct value for them

This commit is contained in:
TMaul 2012-12-05 18:51:31 +00:00
parent d06dfc36e0
commit 67e52a6fa8

View File

@ -294,7 +294,7 @@ u32 sceRtcGetDayOfWeek(u32 year, u32 month, u32 day)
static u32 t[] = { 0, 3, 2, 5, 0, 3, 5, 1, 4, 6, 2, 4 };
if (month > 12 || month < 1) {
// Preventive crashfix
ERROR_LOG(HLE,"Bad month");
ERROR_LOG(HLE,"Bad month"); // this might not be right as a game is checking for sceRtcGetDayOfWeek:166970016, 1024, 0 and expecting 3 returned..
return 0;
}
year -= month < 3;