Mercurial > repos > blastem
comparison cdimage.c @ 2250:646d1797f20d
Fix bug in CUE parser that caused regression in Bill Walsh College Football
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 27 Nov 2022 23:38:48 -0800 |
parents | a8af8d898a7c |
children | 9ead0fe69d9b |
comparison
equal
deleted
inserted
replaced
2249:1838b0b8f4ff | 2250:646d1797f20d |
---|---|
292 has_start_lba = 1; | 292 has_start_lba = 1; |
293 } else if (index == 1) { | 293 } else if (index == 1) { |
294 tracks[track].start_lba = timecode_to_lba(after); | 294 tracks[track].start_lba = timecode_to_lba(after); |
295 if (!has_index_0) { | 295 if (!has_index_0) { |
296 start_lba = tracks[track].start_lba; | 296 start_lba = tracks[track].start_lba; |
297 if (!tracks[track].fake_pregap) { | |
298 tracks[track].pregap_lba = start_lba; | |
299 } | |
297 has_start_lba = 1; | 300 has_start_lba = 1; |
298 } | 301 } |
299 } | 302 } |
300 if (has_start_lba) { | 303 if (has_start_lba) { |
301 if (track > 0) { | 304 if (track > 0) { |