diff options
| author | omegadox <omegadox@gmail.com> | 2009-08-24 23:36:28 +0000 |
|---|---|---|
| committer | omegadox <omegadox@gmail.com> | 2009-08-24 23:36:28 +0000 |
| commit | 984988c5d37c2576b86c8a441e954d49c278f6ff (patch) | |
| tree | 0525a32720f6936c41b5af270b55d64456b30676 /Source/Core/VideoCommon/Src/XFStructs.cpp | |
| parent | 6743dd6913587cc7ea2d553af1771e92b43354fc (diff) | |
GFX: revert of r4044
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4051 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/XFStructs.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/XFStructs.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/Source/Core/VideoCommon/Src/XFStructs.cpp b/Source/Core/VideoCommon/Src/XFStructs.cpp index 9e7cdec9f9..7ea749ffd7 100644 --- a/Source/Core/VideoCommon/Src/XFStructs.cpp +++ b/Source/Core/VideoCommon/Src/XFStructs.cpp @@ -173,16 +173,14 @@ void LoadXFReg(u32 transferSize, u32 baseAddress, u32 *pData) // Actually everything i tried didn't seem to change anything x) // paper mario writes 16777216.0f, 1677721.75 // Killer 7 writes 16777216.0f here - // WARN_LOG(VIDEO, "Set ZScale : %x=%x\n", address, data); + case XFMEM_SETZSCALE: + WARN_LOG(VIDEO, "Set ZScale : %x=%x\n", address, data); + break; + // paper mario writes 16777216.0f, 5033165.0f // Killer 7 alterns this between 16777216.0f and 16710107.0f - // WARN_LOG(VIDEO, "Set ZOffset : %x=%x\n", address, data); - - case XFMEM_SETCONST_ZNEAR: - xfregs.depthRangeConst[0] = *((float*)&data); - break; - case XFMEM_SETCONST_ZFAR: - xfregs.depthRangeConst[1] = *((float*)&data); + case XFMEM_SETZOFFSET: + WARN_LOG(VIDEO, "Set ZOffset : %x=%x\n", address, data); break; // -------------- |
