From e341985003d3f6ade48f74158a9f944ba5058896 Mon Sep 17 00:00:00 2001 From: Nolan Check Date: Sun, 28 Jun 2009 20:55:31 +0000 Subject: [PATCH] Fix flickering in Real XFB mode. POFF for XFBBottomInfo appears to be connected to POFF for XFBTopInfo. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3584 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/HW/VideoInterface.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/Core/Src/HW/VideoInterface.cpp b/Source/Core/Core/Src/HW/VideoInterface.cpp index 133784b471..b6fd1d18ac 100644 --- a/Source/Core/Core/Src/HW/VideoInterface.cpp +++ b/Source/Core/Core/Src/HW/VideoInterface.cpp @@ -997,7 +997,8 @@ u8* GetXFBPointerTop() u8* GetXFBPointerBottom() { - if (m_XFBInfoBottom.POFF) + // POFF for XFB bottom is connected to POFF for XFB top + if (m_XFBInfoTop.POFF) return Memory::GetPointer(m_XFBInfoBottom.FBB << 5); else return Memory::GetPointer(m_XFBInfoBottom.FBB);