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:
@ -45,6 +45,10 @@ void Source::Reset() {
|
||||
state = {};
|
||||
}
|
||||
|
||||
void Source::SetMemory(Memory::MemorySystem& memory) {
|
||||
memory_system = &memory;
|
||||
}
|
||||
|
||||
void Source::ParseConfig(SourceConfiguration::Configuration& config,
|
||||
const s16_le (&adpcm_coeffs)[16]) {
|
||||
if (!config.dirty_raw) {
|
||||
|
Reference in New Issue
Block a user