mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-20 20:49:12 +12:00
HLE DSP: Handle cycle drifting
This commit is contained in:
parent
e666afd1a3
commit
85bae2e94e
7 changed files with 22 additions and 13 deletions
|
@ -83,7 +83,7 @@ namespace Audio {
|
|||
void reset() override;
|
||||
|
||||
// Run 1 slice of DSP instructions and schedule the next audio frame
|
||||
void runAudioFrame() override {
|
||||
void runAudioFrame(u64 eventTimestamp) override {
|
||||
runSlice();
|
||||
scheduler.addEvent(Scheduler::EventType::RunDSP, scheduler.currentTimestamp + Audio::lleSlice * 2);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue