More corrections to the VAR_MUSIC_TIMER
computations, mostly to produce the exptected output with AD resources. svn-id: r9730
This commit is contained in:
parent
61162bf359
commit
d7fae3d1cb
6 changed files with 35 additions and 23 deletions
|
@ -128,8 +128,8 @@ bool Player::startSound(int sound, MidiDriver *midi) {
|
|||
return true;
|
||||
}
|
||||
|
||||
uint32 Player::getMusicTimer() {
|
||||
return _parser ? _parser->getTime() : 0;
|
||||
int Player::getMusicTimer() {
|
||||
return _parser ? (_parser->getTick() * 2 / _parser->getPPQN()) : 0;
|
||||
}
|
||||
|
||||
bool Player::isFadingOut() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue