early-access version 1504

This commit is contained in:
pineappleEA
2021-03-06 02:58:44 +01:00
parent 3fd627d0ba
commit af9a947c65
12 changed files with 62 additions and 59 deletions

View File

@@ -309,13 +309,7 @@ public:
return thread_context_64;
}
[[nodiscard]] Common::Fiber* GetHostContext() {
return host_context.get();
}
[[nodiscard]] const Common::Fiber* GetHostContext() const {
return host_context.get();
}
[[nodiscard]] std::shared_ptr<Common::Fiber>& GetHostContext();
[[nodiscard]] ThreadState GetState() const {
return thread_state & ThreadState::Mask;
@@ -741,7 +735,7 @@ private:
Common::SpinLock context_guard{};
// For emulation
std::unique_ptr<Common::Fiber> host_context{};
std::shared_ptr<Common::Fiber> host_context{};
// For debugging
std::vector<KSynchronizationObject*> wait_objects_for_debugging;