diff options
| author | 2015-01-31 16:12:20 -0200 | |
|---|---|---|
| committer | 2015-02-02 15:37:04 -0200 | |
| commit | e8330dd162ac9669befc68c64772543d7884ac7f (patch) | |
| tree | 418f82660c87686fa95f950992f041203cec50f5 /src/core | |
| parent | Kernel: Remove Object::GetHandle (it's not used anymore :D) (diff) | |
| download | yuzu-e8330dd162ac9669befc68c64772543d7884ac7f.tar.gz yuzu-e8330dd162ac9669befc68c64772543d7884ac7f.tar.xz yuzu-e8330dd162ac9669befc68c64772543d7884ac7f.zip | |
Kernel: Fix bug in HandleTable::Close
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/hle/kernel/kernel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp index 645c3bafc..a24c2f69f 100644 --- a/src/core/hle/kernel/kernel.cpp +++ b/src/core/hle/kernel/kernel.cpp | |||
| @@ -101,7 +101,7 @@ ResultCode HandleTable::Close(Handle handle) { | |||
| 101 | 101 | ||
| 102 | objects[slot] = nullptr; | 102 | objects[slot] = nullptr; |
| 103 | 103 | ||
| 104 | generations[generation] = next_free_slot; | 104 | generations[slot] = next_free_slot; |
| 105 | next_free_slot = slot; | 105 | next_free_slot = slot; |
| 106 | return RESULT_SUCCESS; | 106 | return RESULT_SUCCESS; |
| 107 | } | 107 | } |