Skip to content

Commit

Permalink
GS/HW: Force alpha range on GT4 shuffle GSC
Browse files Browse the repository at this point in the history
  • Loading branch information
refractionpcsx2 committed Mar 11, 2024
1 parent 0401b02 commit edeec70
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pcsx2/GS/Renderers/HW/GSHwHack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,8 @@ bool GSHwHack::GSC_PolyphonyDigitalGames(GSRendererHW& r, int& skip)
{
GL_PUSH("GSC_PolyphonyDigitalGames(): HLE Gran Turismo RGB channel shuffle");

src->m_alpha_max = 255;
src->m_alpha_min = 0;
GSHWDrawConfig& config = r.BeginHLEHardwareDraw(
src->GetTexture(), nullptr, src->GetScale(), src->GetTexture(), src->GetScale(), src->GetUnscaledRect());
config.pal = palette->GetPaletteGSTexture();
Expand Down

0 comments on commit edeec70

Please sign in to comment.