mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-20 20:49:12 +12:00
Hook DSP interface to DSP service HLE
Co-Authored-By: PSISP <12768103+psi-rockin@users.noreply.github.com>
This commit is contained in:
parent
0a51a80d91
commit
363c71e66c
6 changed files with 31 additions and 136 deletions
|
@ -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); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue