summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/BPStructs.cpp
diff options
context:
space:
mode:
authorpierre <pierre@pirsoft.de>2011-07-03 21:57:49 +0000
committerpierre <pierre@pirsoft.de>2011-07-03 21:57:49 +0000
commit951e20ae738d3241c9a8ea91aa5b26d642845e79 (patch)
tree99bd9ba789bdbeb93a3f980c61f433cfbf792a2d /Source/Core/VideoCommon/Src/BPStructs.cpp
parente090a92c7e6d69be530837b988198d51d40d4439 (diff)
Revert r7665. Breaks about all other games.
Sorry, MP3 users will have to wait a bit longer. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7666 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/BPStructs.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/BPStructs.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/Src/BPStructs.cpp b/Source/Core/VideoCommon/Src/BPStructs.cpp
index df72b2d5de..bd9e9ac5f7 100644
--- a/Source/Core/VideoCommon/Src/BPStructs.cpp
+++ b/Source/Core/VideoCommon/Src/BPStructs.cpp
@@ -553,12 +553,11 @@ void BPWritten(const BPCmd& bp)
case BPMEM_TEV_REGISTER_H+4:
case BPMEM_TEV_REGISTER_L+6: // Reg 4
case BPMEM_TEV_REGISTER_H+6:
- // some games only send the _L part, so always update
+ if (bp.address & 1) // only run this code for the _H! is this right? what if L is set independently?
{
// don't compare with changes!
int num = (bp.address >> 1) & 0x3;
PixelShaderManager::SetColorChanged(bpmem.tevregs[num].high.type, num);
- //is .low.type used for anything in the real HW?
}
break;