diff options
| author | 2020-03-19 13:09:32 -0400 | |
|---|---|---|
| committer | 2020-06-27 11:35:52 -0400 | |
| commit | f2ade343e2492c213ac93680a55e9bed712dac9a (patch) | |
| tree | 30bce0eb24a0b2b38310f07fa37c7ba881fc8535 /src/core/hle/kernel/thread.h | |
| parent | GUI: Make multicore only work with Async and add GUI for multicore. (diff) | |
| download | yuzu-f2ade343e2492c213ac93680a55e9bed712dac9a.tar.gz yuzu-f2ade343e2492c213ac93680a55e9bed712dac9a.tar.xz yuzu-f2ade343e2492c213ac93680a55e9bed712dac9a.zip | |
SingleCore: Move Host Timing from a sepparate thread to main cpu thread.
Diffstat (limited to 'src/core/hle/kernel/thread.h')
| -rw-r--r-- | src/core/hle/kernel/thread.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index f42d7bd13..f998890c4 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h | |||
| @@ -597,6 +597,14 @@ public: | |||
| 597 | is_continuous_on_svc = is_continuous; | 597 | is_continuous_on_svc = is_continuous; |
| 598 | } | 598 | } |
| 599 | 599 | ||
| 600 | bool IsPhantomMode() const { | ||
| 601 | return is_phantom_mode; | ||
| 602 | } | ||
| 603 | |||
| 604 | void SetPhantomMode(bool phantom) { | ||
| 605 | is_phantom_mode = phantom; | ||
| 606 | } | ||
| 607 | |||
| 600 | private: | 608 | private: |
| 601 | friend class GlobalScheduler; | 609 | friend class GlobalScheduler; |
| 602 | friend class Scheduler; | 610 | friend class Scheduler; |
| @@ -699,6 +707,7 @@ private: | |||
| 699 | bool is_continuous_on_svc = false; | 707 | bool is_continuous_on_svc = false; |
| 700 | 708 | ||
| 701 | bool will_be_terminated = false; | 709 | bool will_be_terminated = false; |
| 710 | bool is_phantom_mode = false; | ||
| 702 | 711 | ||
| 703 | bool was_running = false; | 712 | bool was_running = false; |
| 704 | 713 | ||