core: set correct pointer_burst_size

0x15 is 21, which is larger than the OPB size (16).

The 0x15 value directly causes CORE to hang given a sufficiently
"large" object list (more than ~2 triangles per tile).

After changing pointer burst size to the intended value, 15, CORE no
longer hangs while drawing "large" object lists.
This commit is contained in:
Zack Buhman 2023-12-25 00:52:02 +08:00
parent 4842b489d1
commit 03aa9b27f0

View File

@ -47,7 +47,7 @@ void core_init()
holly.FPU_PARAM_CFG = fpu_param_cfg::region_header_type::type_2
| fpu_param_cfg::tsp_parameter_burst_threshold(31)
| fpu_param_cfg::isp_parameter_burst_threshold(31)
| fpu_param_cfg::pointer_burst_size(0x15) // must be less than opb size
| fpu_param_cfg::pointer_burst_size(15) // must be less than opb size
| fpu_param_cfg::pointer_first_burst_size(7); // half of pointer burst size(?)
}