HLE DSP: Handle cycle drifting

This commit is contained in:
wheremyfoodat
2024-08-04 16:46:43 +03:00
parent e666afd1a3
commit 85bae2e94e
7 changed files with 22 additions and 13 deletions

View File

@@ -74,7 +74,7 @@ namespace Audio {
scheduler.removeEvent(Scheduler::EventType::RunDSP);
}
void NullDSP::runAudioFrame() {
void NullDSP::runAudioFrame(u64 eventTimestamp) {
// Signal audio pipe when an audio frame is done
if (dspState == DSPState::On) [[likely]] {
dspService.triggerPipeEvent(DSPPipeType::Audio);