mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 08:39:00 +00:00
Added option to disable fog as it's been requested a few times (mainly for RE games, see issue 715 and issue 181)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2814 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
d8dfcf2a4b
commit
f8335271cd
5 changed files with 28 additions and 12 deletions
|
@ -247,11 +247,12 @@ void BPWritten(int addr, int changes, int newval)
|
|||
case BPMEM_FOGBEXPONENT:
|
||||
case BPMEM_FOGBMAGNITUDE:
|
||||
case BPMEM_FOGPARAM3:
|
||||
if (changes) {
|
||||
VertexManager::Flush();
|
||||
((u32*)&bpmem)[addr] = newval;
|
||||
PixelShaderManager::SetFogParamChanged();
|
||||
}
|
||||
if (!g_Config.bDisableFog)
|
||||
if (changes) {
|
||||
VertexManager::Flush();
|
||||
((u32*)&bpmem)[addr] = newval;
|
||||
PixelShaderManager::SetFogParamChanged();
|
||||
}
|
||||
break;
|
||||
|
||||
case BPMEM_FOGCOLOR:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue