fix scePlayGoGetLocus

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:09:51 -06:00
parent 79663789bd
commit 453d12ed8e

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;