mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-07-12 02:08:30 +12:00
Initial DSP debugger work
This commit is contained in:
parent
f4e6a082bb
commit
415bf7b0a4
9 changed files with 309 additions and 5 deletions
|
@ -63,6 +63,8 @@ namespace Audio {
|
|||
|
||||
Samples& getSamples() { return sampleBuffer; }
|
||||
virtual void setAudioEnabled(bool enable) { audioEnabled = enable; }
|
||||
|
||||
virtual u32 getPC() { return 0; }
|
||||
};
|
||||
|
||||
std::unique_ptr<DSPCore> makeDSPCore(EmulatorConfig& config, Memory& mem, Scheduler& scheduler, DSPService& dspService);
|
||||
|
|
|
@ -90,6 +90,7 @@ namespace Audio {
|
|||
|
||||
void setAudioEnabled(bool enable) override;
|
||||
u8* getDspMemory() override { return teakra.GetDspMemory().data(); }
|
||||
u32 getPC() override;
|
||||
|
||||
u16 recvData(u32 regId) override { return teakra.RecvData(regId); }
|
||||
bool recvDataIsReady(u32 regId) override { return teakra.RecvDataIsReady(regId); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue