diff options
author | Liam <byteslice@airmail.cc> | 2024-02-20 06:02:56 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-02-20 06:02:56 +0100 |
commit | 5f7608a7c6ca7f5bf91d456f26fe40b9ef6d89e7 (patch) | |
tree | cbbd0ef060e002e573b7dd25db610165633404b6 | |
parent | vi: remove superfluous locking in shared buffer manager (diff) | |
download | yuzu-5f7608a7c6ca7f5bf91d456f26fe40b9ef6d89e7.tar yuzu-5f7608a7c6ca7f5bf91d456f26fe40b9ef6d89e7.tar.gz yuzu-5f7608a7c6ca7f5bf91d456f26fe40b9ef6d89e7.tar.bz2 yuzu-5f7608a7c6ca7f5bf91d456f26fe40b9ef6d89e7.tar.lz yuzu-5f7608a7c6ca7f5bf91d456f26fe40b9ef6d89e7.tar.xz yuzu-5f7608a7c6ca7f5bf91d456f26fe40b9ef6d89e7.tar.zst yuzu-5f7608a7c6ca7f5bf91d456f26fe40b9ef6d89e7.zip |
-rw-r--r-- | src/core/hle/service/vi/shared_buffer_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/vi/shared_buffer_manager.cpp b/src/core/hle/service/vi/shared_buffer_manager.cpp index 3c0507d30..12cba16fa 100644 --- a/src/core/hle/service/vi/shared_buffer_manager.cpp +++ b/src/core/hle/service/vi/shared_buffer_manager.cpp @@ -285,7 +285,7 @@ void SharedBufferManager::DestroySession(Kernel::KProcess* owner_process) { auto& session = it->second; // Destroy the layer. - R_ASSERT(m_container.DestroyStrayLayer(session.layer_id)); + m_container.DestroyStrayLayer(session.layer_id); // Close nvmap handle. FreeHandle(session.buffer_nvmap_handle, *m_nvdrv, session.nvmap_fd); |