Permalink
Browse files

GSdx: Revert DBZ BT3 Ghosting/Blur hack.

The game still has a bunch of depth and other issues even on gl and it
doesn't play nice with the blur effect as well. Perhaps the hacks can be
changed to work better but for now enable it on native as well.
  • Loading branch information...
lightningterror committed Dec 2, 2018
1 parent 8307cfc commit cf97c304ac569f8b5cfaf0c30a2d24f512859703
Showing with 5 additions and 5 deletions.
  1. +5 −5 plugins/GSdx/Renderers/HW/GSHwHack.cpp
@@ -66,6 +66,7 @@ bool GSC_DBZBT2(const GSFrameInfo& fi, int& skip)
{
// Alpha channel (red line issue has been fixed).
// Sky texture (Depth) is properly rendered on OpenGL only for the NTSC version. The PAL version still has some issues (half screen bottom issue).
// Note: (PAL skip 5) = (NTSC skip 4)
if (g_crc_region == CRC::EU)
{
skip = 5;
@@ -102,22 +103,21 @@ bool GSC_DBZBT3(const GSFrameInfo& fi, int& skip)
else if(fi.TME && (fi.FBP == 0x00000 || fi.FBP == 0x00e00 || fi.FBP == 0x01000) && fi.FPSM == PSM_PSMCT16 && fi.TPSM == PSM_PSMZ16)
{
// Sky texture (Depth) is properly rendered on OpenGL only for the NTSC version. The PAL version still has some issues (half screen bottom issue).
// Note: Depth Emulation should be disabled when running this hack. It may cause some ground glitches otherwise.
// The hack also causes issues with the blur effects, breaking them.
// Note2: (PAL skip 5) = (NTSC skip 4)
if(g_crc_region == CRC::EU)
{
// Note: Depth Emulation should be disabled when running this hack. It may cause some ground glitches otherwise.
// Note2: skip 4 causes black texture flickering on some stages, also skip 5 breaks glow effect on native res.
skip = 5;
}
else
{
// Note: Skip 5 causes an entire black screen on some stages.
if(Dx_only)
skip = 4;
}
}
else if((g_crc_region == CRC::EU || Dx_only || !s_nativeres) && fi.TME && (fi.FBP == 0x03400 || fi.FBP == 0x02e00) && fi.FPSM == fi.TPSM && fi.TBP0 == 0x03f00 && fi.TPSM == PSM_PSMCT32)
else if(fi.TME && (fi.FBP == 0x03400 || fi.FBP == 0x02e00) && fi.FPSM == fi.TPSM && fi.TBP0 == 0x03f00 && fi.TPSM == PSM_PSMCT32)
{
// Don't enable hack on native res if crc is below DX level.
// Ghosting/Blur effect. Upscaling issue.
// Can be fixed with TC X,Y offsets.
skip = 3;

0 comments on commit cf97c30

Please sign in to comment.