Make sure to not do any XFB emulation at all if it's not enabled.
Should fix issue 4294. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7373 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
3eb2196d27
commit
8cacd4d2d7
|
@ -33,6 +33,8 @@ FramebufferManagerBase::~FramebufferManagerBase()
|
|||
|
||||
const XFBSourceBase* const* FramebufferManagerBase::GetXFBSource(u32 xfbAddr, u32 fbWidth, u32 fbHeight, u32 &xfbCount)
|
||||
{
|
||||
if (!g_ActiveConfig.bUseXFB) return NULL;
|
||||
|
||||
if (g_ActiveConfig.bUseRealXFB)
|
||||
return GetRealXFBSource(xfbAddr, fbWidth, fbHeight, xfbCount);
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue