diff --git a/rpcs3/Emu/Cell/Modules/cellVdec.cpp b/rpcs3/Emu/Cell/Modules/cellVdec.cpp index dfba923aca..5f08164e77 100644 --- a/rpcs3/Emu/Cell/Modules/cellVdec.cpp +++ b/rpcs3/Emu/Cell/Modules/cellVdec.cpp @@ -983,7 +983,7 @@ error_code cellVdecClose(ppu_thread& ppu, u32 handle) std::lock_guard lock{vdec->mutex}; vdec->seq_state = sequence_state::closed; - if (!idm::remove_verify(handle, std::move(vdec))) + if (!idm::remove_verify(handle, vdec)) { // Other thread removed it beforehead return CELL_VDEC_ERROR_ARG;