Core/CPUThreadGuard: Fetch System from Guard.

This commit is contained in:
Admiral H. Curtiss committed 2023-03-13 18:13:20 +01:00
1 parent 31d33d0efd
commit 3006c23c85
5 files changed
+28 -23

No files matched your search

+2
View File
@@ -116,6 +116,8 @@ public:
CPUThreadGuard& operator=(const CPUThreadGuard&) = delete;
CPUThreadGuard& operator=(CPUThreadGuard&&) = delete;
Core::System& GetSystem() const { return m_system; }
private:
Core::System& m_system;
const bool m_was_cpu_thread;