Hook DSP interface to DSP service HLE

Co-Authored-By: PSISP <12768103+psi-rockin@users.noreply.github.com>
This commit is contained in:
wheremyfoodat 2024-02-17 01:36:10 +02:00
parent 0a51a80d91
commit 363c71e66c
6 changed files with 31 additions and 136 deletions

View file

@ -12,7 +12,12 @@ namespace Audio {
TeakraDSP(Memory& mem);
void reset() override;
void runAudioFrame() override;
void runAudioFrame() override {
if (running) {
teakra.Run(16384);
}
}
u8* getDspMemory() override { return teakra.GetDspMemory().data(); }
u16 recvData(u32 regId) override { return teakra.RecvData(regId); }