This commit is contained in:
fuel-pcbox
2025-04-24 08:01:48 -05:00
parent cd0e8b0741
commit 988c29064a

View File

@@ -60,13 +60,17 @@ void nv3_class_006_method(uint32_t param, uint32_t method_id, nv3_ramin_context_
case NV3_PATTERN_UNUSED_DRIVER_BUG:
break;
case NV3_PATTERN_COLOR0:
{
nv3_color_expanded_t expanded_colour0 = nv3_render_expand_color(param, grobj);
nv3_render_set_pattern_color(expanded_colour0, false);
break;
}
case NV3_PATTERN_COLOR1:
{
nv3_color_expanded_t expanded_colour1 = nv3_render_expand_color(param, grobj);
nv3_render_set_pattern_color(expanded_colour1, true);
break;
}
case NV3_PATTERN_BITMAP_HIGH:
nv3->pgraph.pattern_bitmap = 0; //reset
nv3->pgraph.pattern_bitmap |= ((uint64_t)param << 32);