mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-15 18:50:32 +01:00
88GSDX: Removed the "sprite hack" as it should be obsolete, fixed the vertex shader selector key function (the pixel shader was broken in the same way but with the "sprite hack" removed it doesn't matter now).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5310 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
1 parent
c755435eeb
commit
0d9eca8668
10 files changed
+5
-36
No files matched your search
@@ -25,7 +25,6 @@
|
||||
GSTextureCache::GSTextureCache(GSRenderer* r)
|
||||
: m_renderer(r)
|
||||
{
|
||||
m_spritehack = !!theApp.GetConfig("UserHacks", 0) ? theApp.GetConfig("UserHacks_SpriteHack", 0) : 0;
|
||||
|
||||
UserHacks_HalfPixelOffset = !!theApp.GetConfig("UserHacks", 0) && !!theApp.GetConfig("UserHacks_HalfPixelOffset", 0);
|
||||
|
||||
@@ -591,16 +590,6 @@ GSTextureCache::Source* GSTextureCache::CreateSource(const GIFRegTEX0& TEX0, con
|
||||
|
||||
bool hack = false;
|
||||
|
||||
if(m_spritehack && (TEX0.PSM == PSM_PSMT8 || TEX0.PSM == PSM_PSMT8H))
|
||||
{
|
||||
src->m_spritehack_t = true;
|
||||
|
||||
if(m_spritehack == 2 && TEX0.CPSM != PSM_PSMCT16)
|
||||
src->m_spritehack_t = false;
|
||||
}
|
||||
else
|
||||
src->m_spritehack_t = false;
|
||||
|
||||
if (dst)
|
||||
{
|
||||
// TODO: clean up this mess
|
||||
|
||||
Reference in new issue
Block a user