diff options
| author | 2015-01-18 13:25:51 -0500 | |
|---|---|---|
| committer | 2015-01-21 20:47:38 -0500 | |
| commit | e5a9f1c64483e01b7856c581ae5685d0c5ad88dc (patch) | |
| tree | 6ab483afc7aa00bdcff51f0d6b7015b9edd5e5bf /src/core/hle/kernel/kernel.h | |
| parent | WaitSynchronizationN: Improved comments (diff) | |
| download | yuzu-e5a9f1c64483e01b7856c581ae5685d0c5ad88dc.tar.gz yuzu-e5a9f1c64483e01b7856c581ae5685d0c5ad88dc.tar.xz yuzu-e5a9f1c64483e01b7856c581ae5685d0c5ad88dc.zip | |
Kernel: Get rid of WaitTypes and simplify lots of code, removing hacks.
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
| -rw-r--r-- | src/core/hle/kernel/kernel.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index cfaf0c901..5bf9a2bfc 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h | |||
| @@ -65,11 +65,10 @@ public: | |||
| 65 | virtual Kernel::HandleType GetHandleType() const = 0; | 65 | virtual Kernel::HandleType GetHandleType() const = 0; |
| 66 | 66 | ||
| 67 | /** | 67 | /** |
| 68 | * Check if this object is available, (optionally) wait the current thread if not | 68 | * Check if this object is available |
| 69 | * @param wait_thread If true, wait the current thread if this object is unavailable | ||
| 70 | * @return True if the current thread should wait due to this object being unavailable | 69 | * @return True if the current thread should wait due to this object being unavailable |
| 71 | */ | 70 | */ |
| 72 | virtual ResultVal<bool> Wait(bool wait_thread) { | 71 | virtual ResultVal<bool> Wait() { |
| 73 | LOG_ERROR(Kernel, "(UNIMPLEMENTED)"); | 72 | LOG_ERROR(Kernel, "(UNIMPLEMENTED)"); |
| 74 | return UnimplementedFunction(ErrorModule::Kernel); | 73 | return UnimplementedFunction(ErrorModule::Kernel); |
| 75 | } | 74 | } |