diff options
| author | 2014-11-19 08:49:13 +0000 | |
|---|---|---|
| committer | 2014-11-19 09:03:07 +0000 | |
| commit | f5d38649c7ad6fedf9db95044e3ad91ce393b8df (patch) | |
| tree | 57cd232d34d8f889315331a84f0812e705d2ea88 /src/core/hle/kernel/kernel.h | |
| parent | Merge pull request #212 from archshift/idea (diff) | |
| download | yuzu-f5d38649c7ad6fedf9db95044e3ad91ce393b8df.tar.gz yuzu-f5d38649c7ad6fedf9db95044e3ad91ce393b8df.tar.xz yuzu-f5d38649c7ad6fedf9db95044e3ad91ce393b8df.zip | |
Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
| -rw-r--r-- | src/core/hle/kernel/kernel.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index dd7c91d4f..e0c94f186 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | // Copyright 2014 Citra Emulator Project / PPSSPP Project | 1 | // Copyright 2014 Citra Emulator Project / PPSSPP Project |
| 2 | // Licensed under GPLv2 | 2 | // Licensed under GPLv2 |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| @@ -34,7 +34,7 @@ enum class HandleType : u32 { | |||
| 34 | Archive = 12, | 34 | Archive = 12, |
| 35 | Directory = 13, | 35 | Directory = 13, |
| 36 | }; | 36 | }; |
| 37 | 37 | ||
| 38 | enum { | 38 | enum { |
| 39 | DEFAULT_STACK_SIZE = 0x4000, | 39 | DEFAULT_STACK_SIZE = 0x4000, |
| 40 | }; | 40 | }; |
| @@ -52,7 +52,7 @@ public: | |||
| 52 | virtual Kernel::HandleType GetHandleType() const = 0; | 52 | virtual Kernel::HandleType GetHandleType() const = 0; |
| 53 | 53 | ||
| 54 | /** | 54 | /** |
| 55 | * Synchronize kernel object | 55 | * Synchronize kernel object |
| 56 | * @param wait Boolean wait set if current thread should wait as a result of sync operation | 56 | * @param wait Boolean wait set if current thread should wait as a result of sync operation |
| 57 | * @return Result of operation, 0 on success, otherwise error code | 57 | * @return Result of operation, 0 on success, otherwise error code |
| 58 | */ | 58 | */ |
| @@ -139,7 +139,7 @@ public: | |||
| 139 | } | 139 | } |
| 140 | 140 | ||
| 141 | bool GetIDType(Handle handle, HandleType* type) const { | 141 | bool GetIDType(Handle handle, HandleType* type) const { |
| 142 | if ((handle < HANDLE_OFFSET) || (handle >= HANDLE_OFFSET + MAX_COUNT) || | 142 | if ((handle < HANDLE_OFFSET) || (handle >= HANDLE_OFFSET + MAX_COUNT) || |
| 143 | !occupied[handle - HANDLE_OFFSET]) { | 143 | !occupied[handle - HANDLE_OFFSET]) { |
| 144 | ERROR_LOG(KERNEL, "Kernel: Bad object handle %i (%08x)", handle, handle); | 144 | ERROR_LOG(KERNEL, "Kernel: Bad object handle %i (%08x)", handle, handle); |
| 145 | return false; | 145 | return false; |
| @@ -155,7 +155,7 @@ public: | |||
| 155 | int GetCount(); | 155 | int GetCount(); |
| 156 | 156 | ||
| 157 | private: | 157 | private: |
| 158 | 158 | ||
| 159 | enum { | 159 | enum { |
| 160 | MAX_COUNT = 0x1000, | 160 | MAX_COUNT = 0x1000, |
| 161 | HANDLE_OFFSET = 0x100, | 161 | HANDLE_OFFSET = 0x100, |