Remove the Video memory use row; its low behaviour is the only one now.

Released textures go once they have gone unused for the hold, and what a switched-off upscaler or SMAA held is freed, with no setting to keep them. A vram_use line left in a settings file is known and read by nothing. Memory use is to be decided by the card's and the system's budget instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
chrg6
2026-11-13 06:23:01 -05:00
parent 75ae5b0221
commit b912d72b87
12 changed files with 13 additions and 101 deletions

View File

@@ -770,16 +770,6 @@ static void row_texture_detail(void) {
opt_choice_list("NX2NAVI_TEXTURE_DETAIL", UI_MENU_TEX_DETAIL, vals, names, 4, UI_MENU_TEX_DETAIL_DESC);
}
// Video memory use (cfg.c vram_use_value, cfg_vram_keep): low, the default, lets released textures go after the hold
// (vk_texture.c drop_aged) and frees what switched-off features made; high keeps both. Any value but high is low, as
// cfg.c reads it (balanced, the default before 0.10, among them). Read at the start, so the row notes the restart.
static void row_vram_use(void) {
static const char *const vals[] = {"low", "high"};
const char *names[] = {menu_text(UI_MENU_VRAM_USE_LOW), menu_text(UI_MENU_VRAM_USE_HIGH)};
opt_choice_list("NX2NAVI_VRAM_USE", UI_MENU_VRAM_USE, vals, names, 2, UI_MENU_VRAM_USE_DESC,
cfg_vram_keep() ? 1 : 0);
}
static void row_shadow_scale(void) {
static const char *const vals[] = {"1", "2", "3", "4"};
static const char *const names[] = {"960 (1x)", "1920 (2x)", "2880 (3x)", "3840 (4x)"};
@@ -1366,7 +1356,6 @@ static void tab_screen(float scale) {
const char *aniso_names[] = {menu_text(UI_MENU_ANISO_GAME), "2x", "4x", "8x", "16x"};
opt_choice_list("NX2NAVI_ANISO", UI_MENU_ANISO, aniso, aniso_names, 5, UI_MENU_ANISO_DESC);
row_texture_detail();
row_vram_use();
opt_end();
}