Small fix for the last commit, and a little fix for disable fog to really disable it :)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4662 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Rodolfo Osvaldo Bogado
2009-12-09 13:51:28 +00:00
parent a1d612e946
commit 0bc7fa7bf5
6 changed files with 38 additions and 42 deletions

View File

@ -281,7 +281,8 @@ void BPWritten(const BPCmd& bp)
PixelShaderManager::SetFogParamChanged();
break;
case BPMEM_FOGCOLOR: // Fog Color
PixelShaderManager::SetFogColorChanged();
if (!GetConfig(CONFIG_DISABLEFOG))
PixelShaderManager::SetFogColorChanged();
break;
case BPMEM_ALPHACOMPARE: // Compare Alpha Values
PRIM_LOG("alphacmp: ref0=%d, ref1=%d, comp0=%d, comp1=%d, logic=%d", bpmem.alphaFunc.ref0,