Triforce v0.6.0 "Sage Of Power"

Faster frames (the replay's memory work, held submits, helper threads, collection and capture cuts), the game letting old areas go (QueryMemoryInfo), the 0.5.2 stutter fixed, AMD RX 5000/6000 and integrated-GPU fixes, the GPU device chosen by name, the in-game menus and launcher reworked, controller, Linux and benchmark fixes.
This commit is contained in:
ruckus7382sfgsgdf
2026-11-20 17:06:21 -06:00
parent b0e46adb48
commit 6c7117635c
265 changed files with 26893 additions and 2549 deletions

View File

@@ -121,13 +121,16 @@ SAVE = r"""
#ifdef _WIN32
#include <windows.h>
#else
constexpr unsigned MOVEFILE_REPLACE_EXISTING = 1;
constexpr unsigned MOVEFILE_REPLACE_EXISTING = 1, MOVEFILE_WRITE_THROUGH = 8;
int MoveFileExA(const char* from, const char* to, unsigned) { std::remove(to); return std::rename(from, to) == 0; }
#endif
#include "file_whole.h" // ((Triforce, handoff §8) the .for files whole)
#include "warm_checkpoint.h" // ((Triforce) a checkpoint's fetch with room: not here, pcache_checkpoint_now unset)
using VkResult = int;
using VkPipelineCache = int;
constexpr VkResult VK_SUCCESS = 0;
constexpr VkResult VK_SUCCESS = 0, VK_INCOMPLETE = 5;
thread_local bool pcache_checkpoint_now = false;
bool pcache_file_flush(FILE* f) { return std::fflush(f) == 0; }
struct { int device = 1; } dev;
VkPipelineCache pcache_play_cache = 0;
std::string pcache_play_path;