diff options
| author | 2016-09-18 09:38:01 +0900 | |
|---|---|---|
| committer | 2016-09-18 09:38:01 +0900 | |
| commit | dc8479928c5aee4c6ad6fe4f59006fb604cee701 (patch) | |
| tree | 569a7f13128450bbab973236615587ff00bced5f /src/core/hle/kernel/kernel.cpp | |
| parent | Travis: Import Dolphin’s clang-format hook. (diff) | |
| download | yuzu-dc8479928c5aee4c6ad6fe4f59006fb604cee701.tar.gz yuzu-dc8479928c5aee4c6ad6fe4f59006fb604cee701.tar.xz yuzu-dc8479928c5aee4c6ad6fe4f59006fb604cee701.zip | |
Sources: Run clang-format on everything.
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
| -rw-r--r-- | src/core/hle/kernel/kernel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp index 7a401a965..1fd7c0326 100644 --- a/src/core/hle/kernel/kernel.cpp +++ b/src/core/hle/kernel/kernel.cpp | |||
| @@ -61,7 +61,8 @@ ResultVal<Handle> HandleTable::Create(SharedPtr<Object> obj) { | |||
| 61 | 61 | ||
| 62 | // Overflow count so it fits in the 15 bits dedicated to the generation in the handle. | 62 | // Overflow count so it fits in the 15 bits dedicated to the generation in the handle. |
| 63 | // CTR-OS doesn't use generation 0, so skip straight to 1. | 63 | // CTR-OS doesn't use generation 0, so skip straight to 1. |
| 64 | if (next_generation >= (1 << 15)) next_generation = 1; | 64 | if (next_generation >= (1 << 15)) |
| 65 | next_generation = 1; | ||
| 65 | 66 | ||
| 66 | generations[slot] = generation; | 67 | generations[slot] = generation; |
| 67 | objects[slot] = std::move(obj); | 68 | objects[slot] = std::move(obj); |