Triforce v0.7.0 "Sage Of Courage"

The 0.6 crashes after warps and area changes fixed (no write-back into memory the capture leaves out), invisible objects fixed (occlusion gate), DLSS frame generation flicker fixed, achievements, the renderer built with a play profile, faster translated game code, helper threads judged on settled scenes, memory, shader preparation, audio effects, launcher, controls and Linux fixes.
This commit is contained in:
ruckus7382sfgsgdf
2026-11-22 11:59:06 -06:00
parent 70c210cee1
commit e6f2f248f2
529 changed files with 55958 additions and 1898 deletions

View File

@@ -53,6 +53,8 @@
#include <utility>
#include <vector>
#include "new_wait.h" // ((Triforce, 11-22, OS-04) a nothrow new that must answer at once: NoWait)
namespace shadow_prev {
inline constexpr uint64_t kPage = 4096;
@@ -217,7 +219,10 @@ inline bool keep_old(std::unique_ptr<uint8_t[]>& b, uint64_t& hash, Vers& v, int
v.n = (uint8_t)(maxn - 1);
} else {
if (alive().load(std::memory_order_relaxed) >= cap) return false;
fresh.reset(new (std::nothrow) uint8_t[kPage]);
{
mkwvk::new_wait::NoWait at_once; // ((Triforce, OS-04) no page: none kept; not a wait at the commit limit)
fresh.reset(new (std::nothrow) uint8_t[kPage]);
}
if (!fresh) return false;
alive().fetch_add(1, std::memory_order_relaxed);
}