Skip to content

Commit

Permalink
fix config on multidisc games
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseAaronLopezGarcia committed Jul 27, 2024
1 parent 8f55a7d commit 27560ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/popcorn/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ static void readCustomConfig(){
// multi disc
sceIoLseek(fd, header.psar_offset+0x0200, PSP_SEEK_SET);
sceIoRead(fd, psiso_offsets, sizeof(psiso_offsets));
for (int i=0; i<NELEMS(psiso_offsets) && psiso_offsets[i]; i++){
psiso_offsets[i] += header.psar_offset;
}
}

sceIoClose(fd);
Expand Down

0 comments on commit 27560ad

Please sign in to comment.