[AdPlug Input] Fixed seeking
Looks like I never tested this, meh. Signed-off-by: Christopher Snowhill <kode54@gmail.com>xcode15
parent
700cb962a3
commit
c2a880fa52
|
@ -151,7 +151,7 @@ static CAdPlugDatabase *g_database = NULL;
|
|||
current_pos += (long)ceil(sampleRate / m_player->getrefresh());
|
||||
}
|
||||
|
||||
samples_todo = (UInt32)(frame - current_pos);
|
||||
samples_todo = (UInt32)(current_pos - frame);
|
||||
|
||||
return frame;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue