diff options
author | Liam <byteslice@airmail.cc> | 2023-03-07 22:49:26 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-03-13 03:10:27 +0100 |
commit | 088c434d6551dcb9d37a2511950226fa3a2c4b66 (patch) | |
tree | c549b80f2a754229409bb38a24867aff94b27f6c /src/core | |
parent | kernel: convert KProcess to new style (diff) | |
download | yuzu-088c434d6551dcb9d37a2511950226fa3a2c4b66.tar yuzu-088c434d6551dcb9d37a2511950226fa3a2c4b66.tar.gz yuzu-088c434d6551dcb9d37a2511950226fa3a2c4b66.tar.bz2 yuzu-088c434d6551dcb9d37a2511950226fa3a2c4b66.tar.lz yuzu-088c434d6551dcb9d37a2511950226fa3a2c4b66.tar.xz yuzu-088c434d6551dcb9d37a2511950226fa3a2c4b66.tar.zst yuzu-088c434d6551dcb9d37a2511950226fa3a2c4b66.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/kernel/k_shared_memory.cpp | 3 | ||||
-rw-r--r-- | src/core/hle/kernel/k_transfer_memory.cpp | 5 |
2 files changed, 1 insertions, 7 deletions
diff --git a/src/core/hle/kernel/k_shared_memory.cpp b/src/core/hle/kernel/k_shared_memory.cpp index 950365d14..954e5befe 100644 --- a/src/core/hle/kernel/k_shared_memory.cpp +++ b/src/core/hle/kernel/k_shared_memory.cpp @@ -74,9 +74,6 @@ void KSharedMemory::Finalize() { // Release the memory reservation. m_resource_limit->Release(LimitableResource::PhysicalMemoryMax, m_size); m_resource_limit->Close(); - - // Perform inherited finalization. - KAutoObjectWithSlabHeapAndContainer<KSharedMemory, KAutoObjectWithList>::Finalize(); } Result KSharedMemory::Map(KProcess& target_process, VAddr address, std::size_t map_size, diff --git a/src/core/hle/kernel/k_transfer_memory.cpp b/src/core/hle/kernel/k_transfer_memory.cpp index ceec364af..471349282 100644 --- a/src/core/hle/kernel/k_transfer_memory.cpp +++ b/src/core/hle/kernel/k_transfer_memory.cpp @@ -30,10 +30,7 @@ Result KTransferMemory::Initialize(VAddr address, std::size_t size, R_SUCCEED(); } -void KTransferMemory::Finalize() { - // Perform inherited finalization. - KAutoObjectWithSlabHeapAndContainer<KTransferMemory, KAutoObjectWithList>::Finalize(); -} +void KTransferMemory::Finalize() {} void KTransferMemory::PostDestroy(uintptr_t arg) { KProcess* owner = reinterpret_cast<KProcess*>(arg); |