[AdPlug Input] Fixed seeking
Looks like I never tested this, meh. Signed-off-by: Christopher Snowhill <kode54@gmail.com>main
parent
233dc424cb
commit
4d3274362c
|
@ -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