From 738b38a10915a37e3710f1b9a67f4991a32f2a4c Mon Sep 17 00:00:00 2001 From: LunaMoo Date: Mon, 27 May 2019 22:43:20 +0200 Subject: [PATCH] Fix avi dump feature by using output buffer. --- Core/AVIDump.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/AVIDump.cpp b/Core/AVIDump.cpp index 37c6cd620a..c4dd316c01 100644 --- a/Core/AVIDump.cpp +++ b/Core/AVIDump.cpp @@ -169,7 +169,7 @@ static void PreparePacket(AVPacket* pkt) { void AVIDump::AddFrame() { - gpuDebug->GetCurrentFramebuffer(buf, GPU_DBG_FRAMEBUF_DISPLAY); + gpuDebug->GetOutputFramebuffer(buf); u32 w = buf.GetStride(); u32 h = buf.GetHeight(); CheckResolution(w, h);