mirror of https://github.com/PCSX2/pcsx2.git
GSdx: minor fixes, ar tonelico 2 shadows in sw mode, lamune palette problems in hw mode
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1384 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
378489fa1e
commit
af0b33c7b5
|
@ -28,6 +28,7 @@ CRC::Game CRC::m_games[] =
|
|||
{0x2113EA2E, MetalSlug6, Unknown},
|
||||
{0x42E05BAF, TomoyoAfter, JP},
|
||||
{0x7800DC84, Clannad, JP},
|
||||
{0xA6167B59, Lamune, JP},
|
||||
{0xa39517ab, FFX, EU},
|
||||
{0xa39517ae, FFX, FR},
|
||||
{0x941bb7d9, FFX, DE},
|
||||
|
|
|
@ -30,6 +30,7 @@ public:
|
|||
MetalSlug6,
|
||||
TomoyoAfter,
|
||||
Clannad,
|
||||
Lamune,
|
||||
FFX,
|
||||
FFX2,
|
||||
FFXII,
|
||||
|
|
|
@ -707,18 +707,17 @@ void GSDrawScanlineCodeGenerator::TestZ(const Xmm& temp1, const Xmm& temp2)
|
|||
switch(m_sel.ztst)
|
||||
{
|
||||
case ZTST_GEQUAL:
|
||||
// test |= zso < zdo;
|
||||
// test |= zso < zdo; // ~(zso >= zdo)
|
||||
pcmpgtd(xmm1, xmm0);
|
||||
por(xmm7, xmm1);
|
||||
break;
|
||||
|
||||
case ZTST_GREATER:
|
||||
// test |= zso <= zdo;
|
||||
movdqa(xmm4, xmm1);
|
||||
pcmpgtd(xmm1, xmm0);
|
||||
por(xmm7, xmm1);
|
||||
pcmpeqd(xmm4, xmm0);
|
||||
por(xmm7, xmm1);
|
||||
case ZTST_GREATER: // TODO: tidus hair and chocobo wings only appear fully when this is tested as ZTST_GEQUAL
|
||||
// test |= zso <= zdo; // ~(zso > zdo)
|
||||
pcmpgtd(xmm0, xmm1);
|
||||
pcmpeqd(xmm4, xmm4);
|
||||
pxor(xmm0, xmm4);
|
||||
por(xmm7, xmm0);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -494,9 +494,9 @@ protected:
|
|||
|
||||
#pragma endregion
|
||||
|
||||
#pragma region tomoyo after, clannad (palette uploaded in a point list, pure genius...)
|
||||
#pragma region tomoyo after, clannad, lamune (palette uploaded in a point list, pure genius...)
|
||||
|
||||
if(m_game.title == CRC::TomoyoAfter || m_game.title == CRC::Clannad)
|
||||
if(m_game.title == CRC::TomoyoAfter || m_game.title == CRC::Clannad || m_game.title == CRC::Lamune)
|
||||
{
|
||||
if(prim == GS_POINTLIST && !PRIM->TME)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue