DSP_DSP: use member system instead of global instance
This commit is contained in:
parent
6ce58248b0
commit
ea496507d5
4 changed files with 15 additions and 2 deletions
|
@ -18,6 +18,10 @@ namespace Kernel {
|
|||
class Process;
|
||||
}
|
||||
|
||||
namespace AudioCore {
|
||||
class DspInterface;
|
||||
}
|
||||
|
||||
namespace Memory {
|
||||
|
||||
// Are defined in a system header
|
||||
|
@ -292,6 +296,8 @@ public:
|
|||
/// Unregisters page table for rasterizer cache marking
|
||||
void UnregisterPageTable(PageTable* page_table);
|
||||
|
||||
void SetDSP(AudioCore::DspInterface& dsp);
|
||||
|
||||
private:
|
||||
template <typename T>
|
||||
T Read(const VAddr vaddr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue