fix scePlayGoGetLocus (#2067)
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions

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++) { for (int i = 0; i < numberOfEntries; i++) {
if (chunkIds[i] <= playgo->chunks.size()) { if (chunkIds[i] < playgo->chunks.size()) {
outLoci[i] = OrbisPlayGoLocus::LocalFast; outLoci[i] = OrbisPlayGoLocus::LocalFast;
} else { } else {
outLoci[i] = OrbisPlayGoLocus::NotDownloaded; outLoci[i] = OrbisPlayGoLocus::NotDownloaded;