From 56c474c1d4f71db0f5ad1f318c116a98c3f75672 Mon Sep 17 00:00:00 2001 From: lizzie Date: Mon, 9 Mar 2026 06:28:14 +0000 Subject: [PATCH] [core/hle/service/nvdrv] force std::unordered_map<> to retain pointer stability Signed-off-by: lizzie --- src/core/hle/service/nvdrv/core/nvmap.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/hle/service/nvdrv/core/nvmap.h b/src/core/hle/service/nvdrv/core/nvmap.h index 17b9ccd1c7..c4cf323b78 100644 --- a/src/core/hle/service/nvdrv/core/nvmap.h +++ b/src/core/hle/service/nvdrv/core/nvmap.h @@ -161,8 +161,7 @@ private: std::list> unmap_queue{}; std::mutex unmap_queue_lock{}; //!< Protects access to `unmap_queue` - ankerl::unordered_dense::map> - handles{}; //!< Main owning map of handles + std::unordered_map> handles{}; //!< Main owning map of handles std::mutex handles_lock; //!< Protects access to `handles` static constexpr u32 HandleIdIncrement{