Fix incorrect timings
This commit is contained in:
parent
d902e1f747
commit
909979df66
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ void ZsmBackend::tick(bool step) {
|
|||
size_t nextCpuClocksInt = std::floor(nextCpuClocks);
|
||||
size_t prevCpuClocksInt = std::floor(prevCpuClocks);
|
||||
size_t cpuClocksIntDelta = nextCpuClocksInt - prevCpuClocksInt;
|
||||
audio_step(cpuClocksIntDelta);
|
||||
audio_step(ticks_remaining);
|
||||
cpuClocks = std::fmod(nextCpuClocks, ClocksPerTick);
|
||||
}
|
||||
size_t ZsmBackend::render(void *buf, size_t maxlen) {
|
||||
|
|
Loading…
Reference in a new issue