9999 is actually the maximum year as verified on my PSP

This commit is contained in:
Kevin Armstrong 2012-11-28 19:24:35 +00:00
parent de0a161be6
commit 5d0c88334b

View file

@ -379,7 +379,7 @@ int sceRtcCheckValid(u32 datePtr)
{
ScePspDateTime pt;
Memory::ReadStruct(datePtr, &pt);
if (pt.year < 1 || pt.year > 9999) //what is the real maximum?
if (pt.year < 1 || pt.year > 9999)
{
ret = PSP_TIME_INVALID_YEAR;
}