mirror of https://github.com/PCSX2/pcsx2.git
GSdx: CRC fix for Time Splitters 2 (PAL), seems the NTSC one is already doing a similar fix by default.
Also, reverting a whoopsie in my last commit :p git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4570 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
f3ca530043
commit
46dd600319
|
@ -196,6 +196,7 @@ CRC::Game CRC::m_games[] =
|
|||
{0x7C7578F3, DemonStone, EU, 0},
|
||||
{0x506644B3, BigMuthaTruckers, EU, 0},
|
||||
{0x90F0D852, BigMuthaTruckers, US, 0},
|
||||
{0x5CC9BF81, TimeSplitters2, EU, 0},
|
||||
};
|
||||
|
||||
hash_map<uint32, CRC::Game*> CRC::m_map;
|
||||
|
|
|
@ -88,6 +88,7 @@ public:
|
|||
Sly2,
|
||||
DemonStone,
|
||||
BigMuthaTruckers,
|
||||
TimeSplitters2,
|
||||
TitleCount,
|
||||
};
|
||||
|
||||
|
|
|
@ -2598,6 +2598,19 @@ bool GSC_BigMuthaTruckers(const GSFrameInfo& fi, int& skip)
|
|||
return true;
|
||||
}
|
||||
|
||||
bool GSC_TimeSplitters2(const GSFrameInfo& fi, int& skip)
|
||||
{
|
||||
if(skip == 0)
|
||||
{
|
||||
if(fi.TME && (fi.FBP == 0x00000 || fi.FBP == 0x01000) && fi.FPSM == fi.TPSM && (fi.TBP0 == 0x00000 || fi.TBP0 == 0x01000) && fi.TPSM == PSM_PSMCT32 && fi.FBMSK == 0x0FF000000)
|
||||
{
|
||||
skip = 1;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
bool GSState::IsBadFrame(int& skip, int UserHacks_SkipDraw)
|
||||
{
|
||||
GSFrameInfo fi;
|
||||
|
@ -2659,6 +2672,7 @@ bool GSState::IsBadFrame(int& skip, int UserHacks_SkipDraw)
|
|||
map[CRC::Sly2] = GSC_Sly2;
|
||||
map[CRC::DemonStone] = GSC_DemonStone;
|
||||
map[CRC::BigMuthaTruckers] = GSC_BigMuthaTruckers;
|
||||
map[CRC::TimeSplitters2] = GSC_TimeSplitters2;
|
||||
}
|
||||
|
||||
// TODO: just set gsc in SetGameCRC once
|
||||
|
|
|
@ -858,7 +858,7 @@ __forceinline void Mix()
|
|||
#endif
|
||||
{
|
||||
// Dealias filter emphasizes the highs too much.
|
||||
Out = Apply_Dealias_Filter ( Out );
|
||||
//Out = Apply_Dealias_Filter ( Out );
|
||||
Out = Apply_Frequency_Response_Filter ( Out );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue