D3D, back off the buffer flipping change by r4303. It works for certain games (Zack & wiki, Rayman3, etc), but seems to break other games (Metroid prime 1 complete black) and features (frame skipping).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4306 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
f9d1354c29
commit
194d44d08e
|
@ -391,7 +391,7 @@ void Renderer::RenderToXFB(u32 xfbAddr, u32 fbWidth, u32 fbHeight, const EFBRect
|
||||||
|
|
||||||
UpdateViewport();
|
UpdateViewport();
|
||||||
|
|
||||||
//Swap(0,FIELD_PROGRESSIVE,0,0); // we used to swap the buffer here, now we will wait
|
Swap(0,FIELD_PROGRESSIVE,0,0); // we used to swap the buffer here, now we will wait
|
||||||
// until the XFB pointer is updated by VI
|
// until the XFB pointer is updated by VI
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -323,12 +323,13 @@ void Video_SendFifoData(u8* _uData, u32 len)
|
||||||
void VideoFifo_CheckSwapRequest()
|
void VideoFifo_CheckSwapRequest()
|
||||||
{
|
{
|
||||||
// CPU swap, not finished, seems to be working fine for dual-core for now
|
// CPU swap, not finished, seems to be working fine for dual-core for now
|
||||||
|
return;
|
||||||
|
|
||||||
if (s_swapRequested)
|
if (s_swapRequested)
|
||||||
{
|
{
|
||||||
// Flip the backbuffer to front buffer now
|
// Flip the backbuffer to front buffer now
|
||||||
s_swapRequested = false;
|
s_swapRequested = false;
|
||||||
if (s_beginFieldArgs.field == FIELD_PROGRESSIVE || s_beginFieldArgs.field == FIELD_LOWER)
|
//if (s_beginFieldArgs.field == FIELD_PROGRESSIVE || s_beginFieldArgs.field == FIELD_LOWER)
|
||||||
{
|
{
|
||||||
Renderer::Swap(0,FIELD_PROGRESSIVE,0,0); // The swap function is not finished
|
Renderer::Swap(0,FIELD_PROGRESSIVE,0,0); // The swap function is not finished
|
||||||
// so it is ok to pass dummy parameters for now
|
// so it is ok to pass dummy parameters for now
|
||||||
|
|
Loading…
Reference in New Issue