GFX3D: So apparently, GBATEK says that, instead of clamping the FogShiftSHR value to 10, the FogShiftSHR value should reset to 0 if it goes above 10. Hmm, okay.
This commit is contained in:
parent
c0552cab6d
commit
d9fabf6347
|
@ -3093,7 +3093,7 @@ void gfx3d_parseCurrentDISP3DCNT()
|
|||
gfx3d.state.enableEdgeMarking = (DISP3DCNT.EnableEdgeMarking != 0);
|
||||
gfx3d.state.enableFogAlphaOnly = (DISP3DCNT.FogOnlyAlpha != 0);
|
||||
gfx3d.state.enableFog = (DISP3DCNT.EnableFog != 0);
|
||||
gfx3d.state.fogShift = (DISP3DCNT.FogShiftSHR <= 10) ? DISP3DCNT.FogShiftSHR : 10;
|
||||
gfx3d.state.fogShift = (DISP3DCNT.FogShiftSHR <= 10) ? DISP3DCNT.FogShiftSHR : 0; // According to GBATEK, values higher than 10 are reset to 0.
|
||||
gfx3d.state.enableClearImage = (DISP3DCNT.RearPlaneMode != 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue