[RAPPS] Abort screenshot iteration on the first not found

This should decrease startup time / db parse time
This commit is contained in:
Mark Jansen 2020-10-25 20:30:03 +01:00
parent 964c22c1ca
commit c3b3fcd111
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B

View file

@ -67,7 +67,9 @@ VOID CAvailableApplicationInfo::RetrieveGeneralInfo(AvailableStrings& AvlbString
CStringW ScrnshotLocation;
if (!GetString(ScrnshotField, ScrnshotLocation))
{
continue;
// We stop at the first screenshot not found,
// so screenshots _have_ to be consecutive
break;
}