fix synthesizing disc tracks with multisession discs when the first session has a large amount of tracks

FirstRecordedTrackNumber only works here for the first session, for future sessions it doesn't work and may just result in out of range exception
This commit is contained in:
CasualPokePlayer 2023-05-11 02:57:14 -07:00
parent 858ea372a9
commit 1f3068fe77
1 changed files with 2 additions and 2 deletions

View File

@ -75,8 +75,8 @@ namespace BizHawk.Emulation.DiscSystem
//fix lead-in track type
//guesses:
Tracks[0].Control = Tracks[TOCRaw.FirstRecordedTrackNumber].Control;
Tracks[0].Mode = Tracks[TOCRaw.FirstRecordedTrackNumber].Mode;
Tracks[0].Control = Tracks[1].Control;
Tracks[0].Mode = Tracks[1].Mode;
}
}
}