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

+5 -1
View File
@@ -6,6 +6,10 @@
#include <memory>
#include "Common/CommonTypes.h"
namespace Core
{
class System;
}
class PointerWrap;
class DSPEmulator
@@ -34,4 +38,4 @@ protected:
bool m_wii = false;
};
std::unique_ptr<DSPEmulator> CreateDSPEmulator(bool hle);
std::unique_ptr<DSPEmulator> CreateDSPEmulator(Core::System& system, bool hle);