mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-23 18:45:36 +00:00
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:
parent
4dcd7f0271
commit
e5f638b378
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user