diff options
| author | omegadox <omegadox@gmail.com> | 2009-03-02 13:04:50 +0000 |
|---|---|---|
| committer | omegadox <omegadox@gmail.com> | 2009-03-02 13:04:50 +0000 |
| commit | 17814912e5bd4feb6e6572dbe34c9ee061055f2d (patch) | |
| tree | cd0de2d3aa40656039e3fe9d77d4833d47c5fcb6 /Source/Core/VideoCommon/Src/XFStructs.cpp | |
| parent | d419d3fc29d4fb8740f09543ce6c432c32e045e3 (diff) | |
Some cleanup, projection hacks remove, the projections might be correct now. ZTP Bloom works and MP1 Heat Visor works, I tested many games, and good results. Please test more and report back. Also added in fix for Issue 677.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2521 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/XFStructs.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/XFStructs.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/XFStructs.cpp b/Source/Core/VideoCommon/Src/XFStructs.cpp index 7a0d07959e..9f1bffdf74 100644 --- a/Source/Core/VideoCommon/Src/XFStructs.cpp +++ b/Source/Core/VideoCommon/Src/XFStructs.cpp @@ -21,6 +21,7 @@ #include "CPMemory.h"
#include "NativeVertexWriter.h"
#include "VertexShaderManager.h"
+#include "PixelShaderManager.h"
// LoadXFReg 0x10
void LoadXFReg(u32 transferSize, u32 baseAddress, u32 *pData)
@@ -154,6 +155,7 @@ void LoadXFReg(u32 transferSize, u32 baseAddress, u32 *pData) case 0x101a:
VertexManager::Flush();
VertexShaderManager::SetViewport((float*)&pData[i]);
+ PixelShaderManager::SetViewport((float*)&pData[i]);
i += 6;
break;
|
