mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Core/DSPHLE: Store reference to System in DSPHLE instances.
This commit is contained in:
@ -10,10 +10,10 @@
|
||||
|
||||
DSPEmulator::~DSPEmulator() = default;
|
||||
|
||||
std::unique_ptr<DSPEmulator> CreateDSPEmulator(bool hle)
|
||||
std::unique_ptr<DSPEmulator> CreateDSPEmulator(Core::System& system, bool hle)
|
||||
{
|
||||
if (hle)
|
||||
return std::make_unique<DSP::HLE::DSPHLE>();
|
||||
return std::make_unique<DSP::HLE::DSPHLE>(system);
|
||||
|
||||
return std::make_unique<DSP::LLE::DSPLLE>();
|
||||
}
|
||||
|
Reference in New Issue
Block a user