From b5ee54a65312fbf61e7d70de7daa12449c9cdc2c Mon Sep 17 00:00:00 2001 From: sum2012 Date: Sun, 1 Mar 2015 08:39:48 +0800 Subject: [PATCH] Fix linux compile --- Core/HLE/sceMpeg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/HLE/sceMpeg.cpp b/Core/HLE/sceMpeg.cpp index c9e13cc9b0..43ceee7b40 100644 --- a/Core/HLE/sceMpeg.cpp +++ b/Core/HLE/sceMpeg.cpp @@ -1723,7 +1723,7 @@ static u32 sceMpegGetPcmAu(u32 mpeg, int streamUid, u32 auAddr, u32 attrAddr) SceMpegAu atracAu; atracAu.read(auAddr); auto streamInfo = ctx->streamMap.find(streamUid); - if (!streamInfo._Ptr) { + if (streamInfo == ctx->streamMap.end()) { WARN_LOG(ME, "sceMpegGetPcmAu(%08x, %08x, %08x, %08x): bad streamUid ", mpeg, streamUid, auAddr, attrAddr); return -1; }