mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-19 10:49:58 -04:00
Add Native (100%) to the Upscaling row: the scene drawn at the picture's own size with no upscaler.
The row writes scene_share = 1 with dlaa = 0, which the start already sized the render-target heap for; widescreen.c now reads the share live, says when the heap needs a restart for it (the row's note and the Restart count), and logs the scene size, the picture size and how the scene is scaled once the fixed share takes over and at each change. The stand-in copies a scene of the picture's size texel for texel with a nearest sampler, and the performance overlay shows Ocarina's real scene size instead of the other builds' placeholders. scene_share gets its settings row and its ini text; the row's texts are in all four menu languages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -367,6 +367,10 @@ void wide_init(void);
|
||||
void wide_present(void); // each present: DLSS's render scale (res_fixed) // after rt_patches_init: widescreen.c, NX2NAVI_GAME_ASPECT
|
||||
int wide_available(void); // the generated C has the widescreen sets
|
||||
void wide_picture(unsigned *w, unsigned *h); // the picture the game draws (its scene is never larger)
|
||||
int wide_scene_settable(void); // the generated C has res_fixed: the scene's share can be set
|
||||
double wide_scene_share(void); // the scene's share of the picture now (0: the game's own)
|
||||
double wide_scene_wanted(void); // ... what the settings ask for, before the heap's limit
|
||||
int wide_scene_restart(void); // a restart gives the larger scene the settings ask for
|
||||
uint64_t wide_heap_extra_kib(void); // the texture heap's growth for the widescreen picture
|
||||
// The most res_heap_extra_kib may be (memory.c): with more the application pool passes the heap region and the
|
||||
// game's own SetHeapSize is refused. A whole number of 2 MiB.
|
||||
|
||||
Reference in New Issue
Block a user