fix scePlayGoGetLocus (#2067)

Due to an issue with the if statement, scePlayGoGetLocus outputs an extra locus compared to real hardware.
This commit is contained in:
Stephen Miller 2025-01-05 16:46:26 -06:00 committed by GitHub
parent 4dcd7f0271
commit e5f638b378
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -157,7 +157,7 @@ s32 PS4_SYSV_ABI scePlayGoGetLocus(OrbisPlayGoHandle handle, const OrbisPlayGoCh
}
for (int i = 0; i < numberOfEntries; i++) {
if (chunkIds[i] <= playgo->chunks.size()) {
if (chunkIds[i] < playgo->chunks.size()) {
outLoci[i] = OrbisPlayGoLocus::LocalFast;
} else {
outLoci[i] = OrbisPlayGoLocus::NotDownloaded;