mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-19 19:29:57 -04:00
Keep the scene and the picture inside the shipped render-target heap when the grown heap table is not served.
The scene's share followed the settings alone. When the grown table could not be built or written (a table in a form that is not rewritten, as a mod's may be, or a profile folder that cannot be written), the game kept the shipped heap and the scene still went to the whole picture inside it, which is the crash the growth was made for. The start now asks for the table before the first present and looks at the answer: without the grown table the scene is three quarters of the picture at most and the picture stays the game's own 2560x1440, with a log line that says so. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -359,6 +359,7 @@ uint64_t res_heap_extra_kib(void); // added to the HeapD
|
||||
int res_heapdef_build(const void *in, size_t n, void **out, size_t *out_n); // the HeapDef table (.byml.zs) with
|
||||
// the grown heaps, malloc'd; 0 = cannot (logged)
|
||||
void res_heapdef_served(void); // romfs.c serves the grown table
|
||||
int res_heapdef_ok(void); // 1 once it does; 0 after fs_init: the game has the shipped heaps
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user