AudioCore: Refactor DSP interrupt handling (#7026)

This commit is contained in:
SachinVin
2023-10-04 19:14:59 +05:30
committed by GitHub
parent 0ce956ba00
commit 72ff0c5337
9 changed files with 61 additions and 97 deletions

View File

@@ -27,10 +27,8 @@ public:
std::array<u8, Memory::DSP_RAM_SIZE>& GetDspMemory() override;
void SetServiceToInterrupt(std::weak_ptr<Service::DSP::DSP_DSP> dsp) override;
void SetSemaphoreHandler(std::function<void()> handler);
void SetRecvDataHandler(u8 index, std::function<void()> handler);
void SetInterruptHandler(
std::function<void(Service::DSP::InterruptType type, DspPipe pipe)> handler) override;
void LoadComponent(const std::span<const u8> buffer) override;
void UnloadComponent() override;