Skip to content

Commit

Permalink
Gsdx: Adjust GSC_Oneechanbara2Special (Zombie Hunters 2) crc hack.
Browse files Browse the repository at this point in the history
Add a few crc ids (ntsc-j and eu).
Adjust hack, crc hack won't be active on native res if crc level is
below Aggressive state.

Issue #2007
  • Loading branch information
lightningterror committed Nov 18, 2018
1 parent 11ddfef commit 9994111
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions plugins/GSdx/GSCrc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,8 @@ CRC::Game CRC::m_games[] =
{0x73C560BA, FinalFightStreetwise, EU, 0},
{0xCBB87BF9, EvangelionJo, JP, 0}, // cutie comment
{0xC5B75C7C, Oneechanbara2Special, JP, 0}, // cutie comment
{0xC725CC6C, Oneechanbara2Special, JP, 0},
{0x07608CA2, Oneechanbara2Special, EU, 0}, // Zombie Hunters 2
{0xC0659AD1, NarutimateAccel, JP, 0}, // cutie comment
{0xF3D9DFBE, NarutimateAccel, JP, 0},
{0x59739DDE, Naruto, JP, 0}, // cutie comment
Expand Down
6 changes: 4 additions & 2 deletions plugins/GSdx/Renderers/HW/GSHwHack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -347,9 +347,11 @@ bool GSC_Oneechanbara2Special(const GSFrameInfo& fi, int& skip)
{
if(skip == 0)
{
if(fi.TPSM == PSM_PSMCT24 && fi.TME && fi.FBP == 0x01180)
if((Aggressive || !s_nativeres) && fi.TPSM == PSM_PSMCT24 && fi.TME && fi.FBP == 0x01180)
{
skip = 1; // Ghosting
// Don't enable hack on native res if crc is below aggressive.
// Ghosting upscaling issue, bottom and right red lines also by upscaling.
skip = 1;
}
}

Expand Down

0 comments on commit 9994111

Please sign in to comment.