audio_core: pass in memory reference
Because HLE::Source is initialized as an array in the member initializer, it is hard to let it accept the reference on ctor, so it has a second init stage performed by DspHle::Impl::Impl
This commit is contained in:
@@ -13,11 +13,15 @@
|
||||
#include "core/hle/service/dsp/dsp_dsp.h"
|
||||
#include "core/memory.h"
|
||||
|
||||
namespace Memory {
|
||||
class MemorySystem;
|
||||
}
|
||||
|
||||
namespace AudioCore {
|
||||
|
||||
class DspHle final : public DspInterface {
|
||||
public:
|
||||
DspHle();
|
||||
explicit DspHle(Memory::MemorySystem& memory);
|
||||
~DspHle();
|
||||
|
||||
DspState GetDspState() const override;
|
||||
|
||||
Reference in New Issue
Block a user