mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-27 08:05:41 +00:00
CDImageDevice: Fix invalid TOC for multi-track discs
This commit is contained in:
parent
77eb8e4b72
commit
b948bb0750
|
@ -188,6 +188,7 @@ bool CDImageDeviceWin32::Open(const char* filename, Common::Error* error)
|
||||||
disc_lba += previous_track_length;
|
disc_lba += previous_track_length;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
last_track_address = track_address;
|
||||||
if (track_num == LEAD_OUT_TRACK_NUMBER)
|
if (track_num == LEAD_OUT_TRACK_NUMBER)
|
||||||
{
|
{
|
||||||
AddLeadOutIndex();
|
AddLeadOutIndex();
|
||||||
|
|
Loading…
Reference in a new issue