mirror of https://github.com/PCSX2/pcsx2.git
GSdx: Fixed a missing clut offset which broke Disney's Golf.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5611 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
a0e960b77d
commit
c4d9ce2e05
|
@ -282,6 +282,8 @@ void GSClut::Read32(const GIFRegTEX0& TEX0, const GIFRegTEXA& TEXA)
|
||||||
case PSM_PSMT8:
|
case PSM_PSMT8:
|
||||||
case PSM_PSMT8H:
|
case PSM_PSMT8H:
|
||||||
// ASSERT(TEX0.CSA == 0); // sfex
|
// ASSERT(TEX0.CSA == 0); // sfex
|
||||||
|
// The clut offset was missing here, broke Disney's Golf
|
||||||
|
clut += (TEX0.CSA & 15) << 4;
|
||||||
ReadCLUT_T32_I8(clut, m_buff32);
|
ReadCLUT_T32_I8(clut, m_buff32);
|
||||||
break;
|
break;
|
||||||
case PSM_PSMT4:
|
case PSM_PSMT4:
|
||||||
|
|
Loading…
Reference in New Issue