From f047320a9cf9c5339e0cfaab78a329f162ea67e9 Mon Sep 17 00:00:00 2001 From: sum2012 Date: Sun, 18 May 2014 12:25:32 +0800 Subject: [PATCH] Revert "Apply hleDelayResult to sceMpegAvcCsc" Fix video 's screen dislocation in Bleach heat of soul 6 #5535 --- Core/HLE/sceMpeg.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Core/HLE/sceMpeg.cpp b/Core/HLE/sceMpeg.cpp index d67875e8f1..a7ec10f361 100644 --- a/Core/HLE/sceMpeg.cpp +++ b/Core/HLE/sceMpeg.cpp @@ -1799,7 +1799,10 @@ u32 sceMpegAvcCsc(u32 mpeg, u32 sourceAddr, u32 rangeAddr, int frameWidth, u32 d int destSize = ctx->mediaengine->writeVideoImageWithRange(destAddr, frameWidth, ctx->videoPixelMode, x, y, width, height); gpu->InvalidateCache(destAddr, destSize, GPU_INVALIDATE_SAFE); - return hleDelayResult(0, "mpeg avc csc", avcDecodeDelayMs); + // Do not hleDelayResult + // Will cause video 's screen dislocation in Bleach heat of soul 6 + // https://github.com/hrydgard/ppsspp/issues/5535 + return 0; } u32 sceMpegRingbufferDestruct(u32 ringbufferAddr)