Play into subsequent track(s) if playback length exceeds the the current 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).
This commit is contained in:
parent
90e5e0e82a
commit
eaeb001b17
9 changed files with 590 additions and 429 deletions
|
@ -170,7 +170,7 @@ public:
|
|||
}
|
||||
int getMin() { return min;}
|
||||
int getMax() { return max;}
|
||||
void SetMinMax(Value const& min,Value const& max) {this->min = min; this->max=max;}
|
||||
void SetMinMax(Value const& _min,Value const& _max) {this->min = _min; this->max=_max;}
|
||||
bool SetValue(std::string const& in);
|
||||
~Prop_int(){ }
|
||||
virtual bool CheckValue(Value const& in, bool warn);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue