mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-20 00:29:57 -04:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user