mirror of https://github.com/PCSX2/pcsx2.git
gsdx-hw: Run clang format on GSHwHack.cpp.
This commit is contained in:
parent
baabbc3c9f
commit
8d8f0f82d8
|
@ -1197,8 +1197,7 @@ public:
|
|||
, m_dllPath(dllPath)
|
||||
, m_lastFileModification(0)
|
||||
, m_lastProbe(0)
|
||||
, m_library( 0 )
|
||||
{};
|
||||
, m_library(0){};
|
||||
|
||||
~AutoReloadLibrary() { UnloadLib(); };
|
||||
|
||||
|
@ -1293,7 +1292,8 @@ void GSState::SetupCrcHack()
|
|||
|
||||
memset(lut, 0, sizeof(lut));
|
||||
|
||||
if (Dx_and_OGL) {
|
||||
if (Dx_and_OGL)
|
||||
{
|
||||
lut[CRC::CrashBandicootWoC] = GSC_CrashBandicootWoC;
|
||||
lut[CRC::GodHand] = GSC_GodHand;
|
||||
lut[CRC::KnightsOfTheTemple2] = GSC_KnightsOfTheTemple2;
|
||||
|
@ -1351,7 +1351,8 @@ void GSState::SetupCrcHack()
|
|||
}
|
||||
|
||||
// Hacks that were fixed on OpenGL
|
||||
if (Dx_only) {
|
||||
if (Dx_only)
|
||||
{
|
||||
// Accurate Blending
|
||||
lut[CRC::GetaWay] = GSC_GetaWayGames; // Blending High
|
||||
lut[CRC::GetaWayBlackMonday] = GSC_GetaWayGames; // Blending High
|
||||
|
@ -1371,7 +1372,8 @@ void GSState::SetupCrcHack()
|
|||
lut[CRC::ValkyrieProfile2] = GSC_ValkyrieProfile2;
|
||||
}
|
||||
|
||||
if (Aggressive) {
|
||||
if (Aggressive)
|
||||
{
|
||||
lut[CRC::AceCombat4] = GSC_AceCombat4;
|
||||
lut[CRC::BleachBladeBattlers] = GSC_BleachBladeBattlers;
|
||||
lut[CRC::FFX2] = GSC_FFXGames;
|
||||
|
@ -1408,7 +1410,13 @@ bool GSState::IsBadFrame()
|
|||
fi.TZTST = m_context->TEST.ZTST;
|
||||
|
||||
#ifdef ENABLE_DYNAMIC_CRC_HACK
|
||||
bool res=false; if(IsInvokedDynamicCrcHack(fi, m_skip, g_crc_region, res, m_crc)){ if( !res ) return false; } else
|
||||
bool res = false;
|
||||
if (IsInvokedDynamicCrcHack(fi, m_skip, g_crc_region, res, m_crc))
|
||||
{
|
||||
if (!res)
|
||||
return false;
|
||||
}
|
||||
else
|
||||
#endif
|
||||
if (m_gsc && !m_gsc(fi, m_skip))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue