diff options
| author | 2020-06-28 12:37:50 -0400 | |
|---|---|---|
| committer | 2020-06-28 12:37:50 -0400 | |
| commit | b05795d704e0c194215f815a5703db09e524b59a (patch) | |
| tree | ecf4023b4ee0c91555c1d8263762fcb9dcb04a17 /src/core/hardware_properties.h | |
| parent | Merge pull request #4196 from ogniK5377/nrr-nro-fixes (diff) | |
| parent | Core/Common: Address Feedback. (diff) | |
| download | yuzu-b05795d704e0c194215f815a5703db09e524b59a.tar.gz yuzu-b05795d704e0c194215f815a5703db09e524b59a.tar.xz yuzu-b05795d704e0c194215f815a5703db09e524b59a.zip | |
Merge pull request #3955 from FernandoS27/prometheus-2b
Remake Kernel Scheduling, CPU Management & Boot Management (Prometheus)
Diffstat (limited to 'src/core/hardware_properties.h')
| -rw-r--r-- | src/core/hardware_properties.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hardware_properties.h b/src/core/hardware_properties.h index b04e046ed..456b41e1b 100644 --- a/src/core/hardware_properties.h +++ b/src/core/hardware_properties.h | |||
| @@ -42,6 +42,10 @@ struct EmuThreadHandle { | |||
| 42 | constexpr u32 invalid_handle = 0xFFFFFFFF; | 42 | constexpr u32 invalid_handle = 0xFFFFFFFF; |
| 43 | return {invalid_handle, invalid_handle}; | 43 | return {invalid_handle, invalid_handle}; |
| 44 | } | 44 | } |
| 45 | |||
| 46 | bool IsInvalid() const { | ||
| 47 | return (*this) == InvalidHandle(); | ||
| 48 | } | ||
| 45 | }; | 49 | }; |
| 46 | 50 | ||
| 47 | } // namespace Core | 51 | } // namespace Core |