Triforce v0.4.0

What was merged from NX2navi (DLSS frame generation, AMD FSR 4 in Setup builds, texture detail by video memory, sprint, volume, frame caps, safer saves, the above-60 fixes), the ultrawide HUD at the screen edges, camera speed, movies without the AV1 Video Extension, the 5120x2880 + RenoDX HDR start fix, the renderer work of 11-14 and the first float changes of the lift.
This commit is contained in:
ruckus7382sfgsgdf
2026-11-15 06:39:00 -06:00
parent 183b05d8c4
commit 93eeb714c2
87 changed files with 5947 additions and 153 deletions

View File

@@ -130,8 +130,8 @@ static void discard_pages(uint64_t addr, uint64_t size) {
if (keep < 0) keep = getenv("HOS_KEEP_FREED_PAGES") != NULL;
if (hi <= lo || keep) return;
#if defined(_WIN32) && !defined(__EMSCRIPTEN__)
extern int hos_large_pages; /* (hos_main.c: large pages cannot be discarded) */
if (hos_large_pages) return;
extern uint64_t hos_large_lo, hos_large_hi; /* (hos_main.c: large pages cannot be discarded) */
if (hos_large_hi && lo < hos_large_hi && hi > hos_large_lo) return;
typedef DWORD(WINAPI * DiscardFn)(PVOID, SIZE_T);
static DiscardFn discard;
static int looked;