-
-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Play into subsequent track(s) if requested length requires it #51
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall these changes look really good :)
37ff619
to
fb18d4e
Compare
e83c5cd
to
9174f2b
Compare
…ent track Issue reported by Dagar and Pr3tty F1y, and confirmed as a bug by ripsaw8080. Thank you! This fixes the GoG release of Betrayal at Krondor which (either due to CD mastering issues or a faulty rip), requests playback of a given track at the tail end of the prior track. In debugging and performing this fix, many debug messages were improved as well as making some small small code adjustments, such as using iterators to point to individual tracks (track->attribute) instead of using the tracks array (tracks[track -1].attribute).
f271e98
to
ce9fe84
Compare
Reverted to casting instead of using %zu and building clean; all set I think. |
Test commands:
That loads the Opus+ISO cue CD, for which you should hear CD-DA at the main menu as well during play game. The in-game Launching Try that with this branch (optionally enable the Note: the following content under test is a DOS game that requires its original and obsoleted media be present and running on obsoleted and unsupported hardware within the obsoleted and unsupported DOS operating system. This meets the criteria for exemption as specified: "Computer programs and video games distributed in formats that have become obsolete and which require the original media or hardware as a condition of access.", here: https://www.copyright.gov/1201/docs/librarian_statement_01.html Content under test: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, glad to see it improve game compatibility as well :)
|
||
track_num = track->number; | ||
attr = track->attr; | ||
index = 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is weird… GitHub colorized index
as if it was a keyword or a function…
(seems not to be an issue for compiler, but it's curious)
Fixes #50
In debugging and performing this fix, many debug messages were improved as well as making some small small code adjustments to improve readability, such as using iterators for a given track,
track->attribute
instead of subtracting into the array vectortracks[track -1].attribute