mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-05 04:05:27 +02:00
9999 is actually the maximum year as verified on my PSP
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user