From 5d0c88334bbb4d0085543f7c433656dac2e2a47b Mon Sep 17 00:00:00 2001 From: Kevin Armstrong Date: Wed, 28 Nov 2012 19:24:35 +0000 Subject: [PATCH] 9999 is actually the maximum year as verified on my PSP --- Core/HLE/sceRtc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/HLE/sceRtc.cpp b/Core/HLE/sceRtc.cpp index 5675c0fc50..7d9067a538 100644 --- a/Core/HLE/sceRtc.cpp +++ b/Core/HLE/sceRtc.cpp @@ -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; }