fix XFB enabled at boot. Should save some click for homebrew.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1893 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
memberTwo.mb2
2009-01-17 16:16:47 +00:00
parent 9e676263cd
commit 8ff64a12ea
3 changed files with 11 additions and 1 deletions

View File

@ -364,7 +364,8 @@ void Video_UpdateXFB(u8* _pXFB, u32 _dwWidth, u32 _dwHeight, s32 _dwYOffset)
{
if(g_Config.bUseXFB)
{
XFB_Draw(_pXFB, _dwWidth, _dwHeight, _dwYOffset);
if (XFB_isInit())
XFB_Draw(_pXFB, _dwWidth, _dwHeight, _dwYOffset);
}
}