mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-27 05:36:42 +00:00
Update src/core/hle/service/nvdrv/devices/nvmap.cpp
Co-authored-by: LC <mathew1800@gmail.com>
This commit is contained in:
parent
05def61398
commit
db94457205
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue