mirror of https://github.com/PCSX2/pcsx2.git
GS/HW: Adjust Burnout CRC hack to stop hash cache spiking
This commit is contained in:
parent
0af2657bbc
commit
a342f4c7e9
|
@ -324,15 +324,14 @@ bool GSHwHack::GSC_TombRaiderUnderWorld(GSRendererHW& r, const GSFrameInfo& fi,
|
||||||
|
|
||||||
bool GSHwHack::GSC_BurnoutGames(GSRendererHW& r, const GSFrameInfo& fi, int& skip)
|
bool GSHwHack::GSC_BurnoutGames(GSRendererHW& r, const GSFrameInfo& fi, int& skip)
|
||||||
{
|
{
|
||||||
if (skip == 0)
|
// We don't check if we already have a skip here, because it gets confused when auto flush is on.
|
||||||
|
if (fi.TME && (fi.FBP == 0x01dc0 || fi.FBP == 0x01c00 || fi.FBP == 0x01f00 || fi.FBP == 0x01d40 || fi.FBP == 0x02200 || fi.FBP == 0x02000) && fi.FPSM == fi.TPSM && (fi.TBP0 == 0x01dc0 || fi.TBP0 == 0x01c00 || fi.TBP0 == 0x01f00 || fi.TBP0 == 0x01d40 || fi.TBP0 == 0x02200 || fi.TBP0 == 0x02000) && fi.TPSM == PSM_PSMCT32)
|
||||||
{
|
{
|
||||||
if (fi.TME && (fi.FBP == 0x01dc0 || fi.FBP == 0x01c00 || fi.FBP == 0x01f00 || fi.FBP == 0x01d40 || fi.FBP == 0x02200 || fi.FBP == 0x02000) && fi.FPSM == fi.TPSM && (fi.TBP0 == 0x01dc0 || fi.TBP0 == 0x01c00 || fi.TBP0 == 0x01f00 || fi.TBP0 == 0x01d40 || fi.TBP0 == 0x02200 || fi.TBP0 == 0x02000) && fi.TPSM == PSM_PSMCT32)
|
// 0x01dc0 01c00(MP) ntsc, 0x01f00 0x01d40(MP) ntsc progressive, 0x02200(MP) pal.
|
||||||
{
|
// Yellow stripes.
|
||||||
// 0x01dc0 01c00(MP) ntsc, 0x01f00 0x01d40(MP) ntsc progressive, 0x02200(MP) pal.
|
// Multiplayer tested only on Takedown.
|
||||||
// Yellow stripes.
|
skip = 3;
|
||||||
// Multiplayer tested only on Takedown.
|
return true;
|
||||||
skip = GSConfig.UserHacks_AutoFlush ? 2 : 4;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return GSC_BlackAndBurnoutSky(r, fi, skip);
|
return GSC_BlackAndBurnoutSky(r, fi, skip);
|
||||||
|
|
Loading…
Reference in New Issue