We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26c451f commit 9732026Copy full SHA for 9732026
hw/xbox/nv2a/pgraph/pgraph.c
@@ -1411,8 +1411,10 @@ DEF_METHOD(NV097, SET_BLEND_EQUATION)
1411
1412
DEF_METHOD(NV097, SET_DEPTH_FUNC)
1413
{
1414
- PG_SET_MASK(NV_PGRAPH_CONTROL_0, NV_PGRAPH_CONTROL_0_ZFUNC,
1415
- parameter & 0xF);
+ if (parameter >= 0x200 && parameter <= 0x207) {
+ PG_SET_MASK(NV_PGRAPH_CONTROL_0, NV_PGRAPH_CONTROL_0_ZFUNC,
1416
+ parameter & 0xF);
1417
+ }
1418
}
1419
1420
DEF_METHOD(NV097, SET_COLOR_MASK)
0 commit comments