XFB in Single Core thx to Luigi___ on the forum

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3055 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
daco65 2009-04-23 16:31:55 +00:00
parent a0e39011a3
commit 35b99a80ed
1 changed files with 3 additions and 0 deletions

View File

@ -330,7 +330,10 @@ void Video_UpdateXFB(u8* _pXFB, u32 _dwWidth, u32 _dwHeight, s32 _dwYOffset, boo
else
{
if (_pXFB) // from CPU in SC mode
{
XFB_Draw(_pXFB, _dwWidth, _dwHeight, _dwYOffset);
g_VideoInitialize.pCopiedToXFB();
}
else // from GP in DC without fifo&CP (some 2D homebrews)
{
XFB_Draw();