diff --git a/Core/HLE/sceMpeg.cpp b/Core/HLE/sceMpeg.cpp index f45d446917..d0cb5b4868 100644 --- a/Core/HLE/sceMpeg.cpp +++ b/Core/HLE/sceMpeg.cpp @@ -733,8 +733,8 @@ static void SaveFrame(AVFrame *pFrame, int width, int height) // check the existence of pmp media context bool isContextExist(u32 ctxAddr){ - for (auto it : pmp_ContextList){ - if (it == ctxAddr){ + for (std::list::iterator it = pmp_ContextList.begin(); it != pmp_ContextList.end(); it++){ + if (*it == ctxAddr){ return true; } }