Skip to content

Commit

Permalink
CDVD | CHD: Account for pre/post gap offsets when filling TOC
Browse files Browse the repository at this point in the history
This will fix discs with tracks with both an INDEX 00 and INDEX 01
  • Loading branch information
F0bes committed Nov 27, 2024
1 parent 79e005d commit 1021654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcsx2/CDVD/ChdFileReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ bool ChdFileReader::ParseTOC(u64* out_frame_count, std::vector<toc_entry>& entri
{
u64 total_frames = 0;
int max_found_track = -1;

u64 total_gap_frames = 0;
for (int search_index = 0;; search_index++)
{
char metadata_str[256];
Expand Down

0 comments on commit 1021654

Please sign in to comment.