Skip to content

Commit 1021654

Browse files
committed
CDVD | CHD: Account for pre/post gap offsets when filling TOC
This will fix discs with tracks with both an INDEX 00 and INDEX 01
1 parent 79e005d commit 1021654

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pcsx2/CDVD/ChdFileReader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ bool ChdFileReader::ParseTOC(u64* out_frame_count, std::vector<toc_entry>& entri
281281
{
282282
u64 total_frames = 0;
283283
int max_found_track = -1;
284-
284+
u64 total_gap_frames = 0;
285285
for (int search_index = 0;; search_index++)
286286
{
287287
char metadata_str[256];

0 commit comments

Comments
 (0)