GSdx: Better hackfix for Dragon Ball Z Budokai Tenkaichi 3, missing body parts still happened sometimes. Thanks to miseru99 for the initial patch and testing.

zzogl-pg win: Patch by Kosmos in the forums, corrects a typo that was causing window size to appear as height x height instead of width x height in windows OS (was breaking fullscreen at it too). Thanks :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4734 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
shadowladyngemu 2011-06-12 22:07:59 +00:00
parent 9dd0cde92c
commit 6a364aa444
2 changed files with 17 additions and 9 deletions

View File

@ -1989,21 +1989,29 @@ bool GSC_DBZBT3(const GSFrameInfo& fi, int& skip)
{
skip = 28; // outline
}
else if(fi.FBMSK == 0x00FFFFFF)
if(fi.FBMSK == 0x00FFFFFF)
{
skip = 1;
}
}
}
else
{
if(fi.TME && (fi.FBP == 0x00000 || fi.FBP == 0x00e00 || fi.FBP == 0x01000) && fi.FPSM == PSM_PSMCT32 && fi.TPSM == PSM_PSMT8H)
else if(fi.TME && (fi.FBP == 0x00000 || fi.FBP == 0x00e00 || fi.FBP == 0x01000) && fi.FPSM == PSM_PSMCT16 && fi.TPSM == PSM_PSMZ16)
{
skip = 10;
skip = 5;
}
else if(fi.TME && fi.FPSM == fi.TPSM && fi.TBP0 == 0x03f00 && fi.TPSM == PSM_PSMCT32)
{
if (fi.FBP == 0x03400)
{
skip = 1; //PAL
}
if(fi.FBP == 0x02e00)
{
skip = 3; //NTSC
}
}
}
return true;
return true;
}
bool GSC_SFEX3(const GSFrameInfo& fi, int& skip)

View File

@ -209,7 +209,7 @@ bool GLWindow::DisplayWindow(int _width, int _height)
rc.left = 0;
rc.top = 0;
rc.right = backbuffer.h;
rc.right = backbuffer.w;
rc.bottom = backbuffer.h;
AdjustWindowRectEx(&rc, dwStyle, false, dwExStyle);
int X = (rcdesktop.right - rcdesktop.left) / 2 - (rc.right - rc.left) / 2;