diff options
author | bunnei <bunneidev@gmail.com> | 2020-07-28 03:27:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-28 03:27:20 +0200 |
commit | db944572052e7444c86b383a4ab94f5ae284945e (patch) | |
tree | 3f62053e57bf471ce04a4bea7068752b9f6e2106 /src/core/hle/service/nvdrv | |
parent | hle: nvdrv: Rewrite of GPU memory management. (diff) | |
download | yuzu-db944572052e7444c86b383a4ab94f5ae284945e.tar yuzu-db944572052e7444c86b383a4ab94f5ae284945e.tar.gz yuzu-db944572052e7444c86b383a4ab94f5ae284945e.tar.bz2 yuzu-db944572052e7444c86b383a4ab94f5ae284945e.tar.lz yuzu-db944572052e7444c86b383a4ab94f5ae284945e.tar.xz yuzu-db944572052e7444c86b383a4ab94f5ae284945e.tar.zst yuzu-db944572052e7444c86b383a4ab94f5ae284945e.zip |
Diffstat (limited to 'src/core/hle/service/nvdrv')
-rw-r--r-- | src/core/hle/service/nvdrv/devices/nvmap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvmap.cpp b/src/core/hle/service/nvdrv/devices/nvmap.cpp index 7228910a0..9436e16ad 100644 --- a/src/core/hle/service/nvdrv/devices/nvmap.cpp +++ b/src/core/hle/service/nvdrv/devices/nvmap.cpp @@ -65,7 +65,7 @@ u32 nvmap::CreateObject(u32 size) { const u32 handle = next_handle++; - handles[handle] = std::move(object); + handles.insert_or_assign(handle, std::move(object)); return handle; } |