Merge pull request #5089 from raven02/patch-23

Remove duplicate
This commit is contained in:
Henrik Rydgård committed 2014-01-12 10:10:16 -08:00
commit ca002f69d7
1 file changed
+1 -7
+1 -7
View File
@@ -207,15 +207,9 @@ static u32 lastMpegHandle = 0;
MpegContext *getMpegCtx(u32 mpegAddr) {
u32 mpeg = Memory::Read_U32(mpegAddr);
// TODO: Remove.
if (mpegMap.find(mpeg) == mpegMap.end())
{
ERROR_LOG_REPORT(ME, "Bad mpeg handle %08x - using last one (%08x) instead", mpeg, lastMpegHandle);
mpeg = lastMpegHandle;
}
if (mpegMap.find(mpeg) == mpegMap.end())
return NULL;
return mpegMap[mpeg];
}