mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-20 13:07:53 -05:00
General: Fix microprofile on dynarmic/svc, fix wait tree showing which threads were running.
This commit is contained in:
@ -350,6 +350,22 @@ public:
|
||||
return (type & THREADTYPE_HLE) != 0;
|
||||
}
|
||||
|
||||
bool IsSuspendThread() const {
|
||||
return (type & THREADTYPE_SUSPEND) != 0;
|
||||
}
|
||||
|
||||
bool IsIdleThread() const {
|
||||
return (type & THREADTYPE_IDLE) != 0;
|
||||
}
|
||||
|
||||
bool WasRunning() const {
|
||||
return was_running;
|
||||
}
|
||||
|
||||
void SetWasRunning(bool value) {
|
||||
was_running = value;
|
||||
}
|
||||
|
||||
std::shared_ptr<Common::Fiber> GetHostContext() const;
|
||||
|
||||
ThreadStatus GetStatus() const {
|
||||
@ -684,6 +700,8 @@ private:
|
||||
|
||||
bool will_be_terminated = false;
|
||||
|
||||
bool was_running = false;
|
||||
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user