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
This commit is contained in:
parent
e090a92c7e
commit
951e20ae73
|
@ -553,12 +553,11 @@ void BPWritten(const BPCmd& bp)
|
||||||
case BPMEM_TEV_REGISTER_H+4:
|
case BPMEM_TEV_REGISTER_H+4:
|
||||||
case BPMEM_TEV_REGISTER_L+6: // Reg 4
|
case BPMEM_TEV_REGISTER_L+6: // Reg 4
|
||||||
case BPMEM_TEV_REGISTER_H+6:
|
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!
|
// don't compare with changes!
|
||||||
int num = (bp.address >> 1) & 0x3;
|
int num = (bp.address >> 1) & 0x3;
|
||||||
PixelShaderManager::SetColorChanged(bpmem.tevregs[num].high.type, num);
|
PixelShaderManager::SetColorChanged(bpmem.tevregs[num].high.type, num);
|
||||||
//is .low.type used for anything in the real HW?
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue