mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-18 13:09:57 -04:00
Bring the stutter map's ini text, the checks in docs/building.md and the released-textures bound line in step with the code.
- nx2navi.ini.example said the stutter map is written every 10 minutes and at exit; since7b0dbeb1it is every 5 minutes of play (stutter_map.c SM_REPORT_NS), at a focus loss in play and at exit, and since2f640fb8a run of consecutive long frames counts as one hitch with their summed time. The paragraph now says both. - docs/building.md had no paragraph for tests/freeze_hold_check.py (0e0cfe08), while each other header-alone check has one: it now says what a change to runtime/freeze_hold.h or vk_memory.c freeze_pass must pass and what it checks. - vk_texture.c released_cap_bytes named "a thirty-second of the installed memory" as the source of the bound even when plat_mem_info gave no size and the bound fell back to 1024 MiB; that case now reads "the default without the installed memory's size". Text only. check_content passes; freeze_hold_check passes; vk_texture.c compiles with the dev flags and with -Wall -Wextra with the one warning it had before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2547,7 +2547,8 @@ static uint64_t released_cap_bytes(void) {
|
||||
plat_mem_info(&used, &total, &proc);
|
||||
mb = total > 0 ? (long long)(total / 32) : 1024;
|
||||
mb = mb < 512 ? 512 : mb > 2048 ? 2048 : mb;
|
||||
by = ", a thirty-second of the installed memory (512 MiB to 2 GiB)";
|
||||
by = total > 0 ? ", a thirty-second of the installed memory (512 MiB to 2 GiB)"
|
||||
: ", the default without the installed memory's size";
|
||||
// By the card too: a quarter of its budget where the PC has an eighth of its memory to match, up to
|
||||
// RELEASED_CAP_MAX_MB. The game lets go of the textures of what leaves the view and takes them back when
|
||||
// it returns; walking through a village the released ones passed 1 GiB within two or three minutes, and
|
||||
|
||||
Reference in New Issue
Block a user