summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_auto_object.cpp
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2023-07-02 00:00:39 +0200
committercomex <comexk@gmail.com>2023-07-15 21:00:28 +0200
commitd7c532d8894ce806c9af13b8dd3eec975642b348 (patch)
tree1353e6d1776384575019db28987e23237552a9de /src/core/hle/kernel/k_auto_object.cpp
parentfile_sys/content_archive: Detect compressed NCAs (#11047) (diff)
downloadyuzu-d7c532d8894ce806c9af13b8dd3eec975642b348.tar
yuzu-d7c532d8894ce806c9af13b8dd3eec975642b348.tar.gz
yuzu-d7c532d8894ce806c9af13b8dd3eec975642b348.tar.bz2
yuzu-d7c532d8894ce806c9af13b8dd3eec975642b348.tar.lz
yuzu-d7c532d8894ce806c9af13b8dd3eec975642b348.tar.xz
yuzu-d7c532d8894ce806c9af13b8dd3eec975642b348.tar.zst
yuzu-d7c532d8894ce806c9af13b8dd3eec975642b348.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/k_auto_object.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_auto_object.cpp b/src/core/hle/kernel/k_auto_object.cpp
index 0ae42c95c..9cd7a9fd5 100644
--- a/src/core/hle/kernel/k_auto_object.cpp
+++ b/src/core/hle/kernel/k_auto_object.cpp
@@ -15,8 +15,8 @@ void KAutoObject::RegisterWithKernel() {
m_kernel.RegisterKernelObject(this);
}
-void KAutoObject::UnregisterWithKernel() {
- m_kernel.UnregisterKernelObject(this);
+void KAutoObject::UnregisterWithKernel(KernelCore& kernel, KAutoObject* self) {
+ kernel.UnregisterKernelObject(self);
}
} // namespace Kernel