Core/DSPHLE: Store reference to System in DSPHLE instances.

This commit is contained in:
Admiral H. Curtiss committed 2024-01-08 10:23:28 +01:00
1 parent 00fb709c74
commit 9be9cbda2f
5 files changed
+28 -12

No files matched your search

+2 -2
View File
@@ -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>();
}