mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-18 23:59:59 -04:00
Say "after restart" in the menu only while a restart would change something, and count the waiting settings on Restart.
A setting read at the start showed "after restart" under its value always. The values the game started with are now kept (cfg.c start_values), a row shows the note only while its value differs from them, and the Restart button counts the settings that wait, the upscaler, frame generation and HDR among them. A value the environment sets never waits. --probe-cfg checks the count. From pull request #377 by mooki000. Three conflicts in the menu resolved against the frame generation rows that came in since: the upscaling row keeps its description by what can load, and the frame generation restart test knows both ways NVIDIA's runs. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
// row's description on the right. Each row shows a setting of the cfg table (cfg.h) and changes it through cfg_set: A
|
||||
// steps it (toggle, next value), left and right step it, and the mouse steps it on the two framed arrows beside its
|
||||
// value and nowhere else on the row (a click on the row selects it; held on an arrow it repeats). A row marks the
|
||||
// default value, says "after restart" when the setting is read at start, and is greyed out with a note when an
|
||||
// environment variable fixes it.
|
||||
// default value, says "after restart" while a setting read at start differs from the value the game started with
|
||||
// (cfg_pending), and is greyed out with a note when an environment variable fixes it.
|
||||
//
|
||||
// opt_begin("##screen", scale);
|
||||
// opt_toggle("NX2NAVI_FULLSCREEN", UI_MENU_FULLSCREEN, UI_MENU_FULLSCREEN_DESC);
|
||||
|
||||
Reference in New Issue
Block a user