mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 16:00:30 +02:00
commit
ca002f69d7
1 file changed
+1
-7
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user