From 03aa9b27f0f87bf30bdd04729b3933cb83561595 Mon Sep 17 00:00:00 2001 From: Zack Buhman Date: Mon, 25 Dec 2023 00:52:02 +0800 Subject: [PATCH] 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. --- holly/core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/holly/core.cpp b/holly/core.cpp index f7584fe..33347ca 100644 --- a/holly/core.cpp +++ b/holly/core.cpp @@ -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(?) }