summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/kernel.cpp
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-01-31 19:12:20 +0100
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-02-02 18:37:04 +0100
commite8330dd162ac9669befc68c64772543d7884ac7f (patch)
tree418f82660c87686fa95f950992f041203cec50f5 /src/core/hle/kernel/kernel.cpp
parentKernel: Remove Object::GetHandle (it's not used anymore :D) (diff)
downloadyuzu-e8330dd162ac9669befc68c64772543d7884ac7f.tar
yuzu-e8330dd162ac9669befc68c64772543d7884ac7f.tar.gz
yuzu-e8330dd162ac9669befc68c64772543d7884ac7f.tar.bz2
yuzu-e8330dd162ac9669befc68c64772543d7884ac7f.tar.lz
yuzu-e8330dd162ac9669befc68c64772543d7884ac7f.tar.xz
yuzu-e8330dd162ac9669befc68c64772543d7884ac7f.tar.zst
yuzu-e8330dd162ac9669befc68c64772543d7884ac7f.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/kernel.cpp2
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) {
objects[slot] = nullptr;
- generations[generation] = next_free_slot;
+ generations[slot] = next_free_slot;
next_free_slot = slot;
return RESULT_SUCCESS;
}