diff options
| author | 2020-03-10 18:41:11 -0400 | |
|---|---|---|
| committer | 2020-06-27 11:35:46 -0400 | |
| commit | f370de84b16f9d668b7d5dcc0fd851264e2e6144 (patch) | |
| tree | 1fedb0bc3338587a328b573c3319fba7cdd0c3bc /src/core/hle/kernel/thread.h | |
| parent | Kernel: Preempt Single core on redudant yields. (diff) | |
| download | yuzu-f370de84b16f9d668b7d5dcc0fd851264e2e6144.tar.gz yuzu-f370de84b16f9d668b7d5dcc0fd851264e2e6144.tar.xz yuzu-f370de84b16f9d668b7d5dcc0fd851264e2e6144.zip | |
Kernel: Rewind on SVC change.
Diffstat (limited to 'src/core/hle/kernel/thread.h')
| -rw-r--r-- | src/core/hle/kernel/thread.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index 9a29875ac..168828ab0 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h | |||
| @@ -573,6 +573,14 @@ public: | |||
| 573 | return pausing_state != 0; | 573 | return pausing_state != 0; |
| 574 | } | 574 | } |
| 575 | 575 | ||
| 576 | bool IsContinuousOnSVC() const { | ||
| 577 | return is_continuous_on_svc; | ||
| 578 | } | ||
| 579 | |||
| 580 | void SetContinuousOnSVC(bool is_continuous) { | ||
| 581 | is_continuous_on_svc = is_continuous; | ||
| 582 | } | ||
| 583 | |||
| 576 | private: | 584 | private: |
| 577 | friend class GlobalScheduler; | 585 | friend class GlobalScheduler; |
| 578 | friend class Scheduler; | 586 | friend class Scheduler; |
| @@ -672,6 +680,8 @@ private: | |||
| 672 | bool is_waiting_on_sync = false; | 680 | bool is_waiting_on_sync = false; |
| 673 | bool is_sync_cancelled = false; | 681 | bool is_sync_cancelled = false; |
| 674 | 682 | ||
| 683 | bool is_continuous_on_svc = false; | ||
| 684 | |||
| 675 | bool will_be_terminated = false; | 685 | bool will_be_terminated = false; |
| 676 | 686 | ||
| 677 | std::string name; | 687 | std::string name; |