You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// "type 1" (only one data track in high-density area) and "type 2" (1 data and then the rest of the tracks being audio tracks in high-density area) don't require any adjustments
2771
2772
if (tracknum + 1 >= toc.numtrks && toc.tracks[tracknum].trktype != cdrom_file::CD_TRACK_AUDIO)
2772
2773
{
2773
-
// TODO: These 75 frames are actually included at the end of the previous track so should be written
2774
-
// It's currently not possible to format it as expected without hacky code because the 150 pregap for the last track
2775
-
// is sandwiched between these 75 frames and the actual track data.
2776
-
// The 75 frames seems to normally be 0s so this should be ok for now until a use case is found.
2777
-
trackinfo->tracks[tracknum-1].frames -= 75;
2778
-
trackinfo->tracks[tracknum].pregap += 75;
2774
+
if (toc.tracks[tracknum-1].trktype != cdrom_file::CD_TRACK_AUDIO)
2775
+
{
2776
+
// "type 3" where the high-density area is just two data tracks
2777
+
// there shouldn't be any pregap in the padframes from the previous track in this case, and the full 3s pregap is baked into the previous track
2778
+
// Only known to be used by Shenmue II JP's discs 2, 3, 4 and Virtua Fighter History & VF4
0 commit comments