mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-29 04:18:49 -04:00
Triforce v0.8.5
A Randomizer page in the launcher, a new title screen with Mods and Save Select tabs, scaling changes applied in game, the Jabu-Jabu bars fixed, renderer frame-time work and the brightness-flash fix, and fixes from the 0.8.4 reports.
This commit is contained in:
@@ -1076,6 +1076,12 @@ void close() {
|
||||
bool load_library(Library& l) {
|
||||
if (l.lib_tried) return l.lib_ok;
|
||||
l.lib_tried = true;
|
||||
#ifdef _WIN32
|
||||
// ((Triforce, 11-27, a player's RX 7800 XT: "AMD_FIDELITYFX_FRAMEGENERATION_VK.DLL is not made to run on Windows or has
|
||||
// an error" at every start) a bad DLL the loader opens (now or in a later query) fails quietly on this thread instead of
|
||||
// Windows' blocking box: it is refused either way and the game goes on without it, as it already did
|
||||
SetThreadErrorMode(GetThreadErrorMode() | SEM_FAILCRITICALERRORS, nullptr);
|
||||
#endif
|
||||
std::string where;
|
||||
for (const std::string& dir : library_dirs()) {
|
||||
where += (where.empty() ? "" : ", ") + dir;
|
||||
@@ -1770,6 +1776,9 @@ int fg_env() { // (RX_VK_FSR4_FG: 0 never; 4 FSR 4's alone, as before (FG-1);
|
||||
/// AMD's library asked once (s.mu held, the device made): whether it has an FSR 4 frame generation for this card and driver
|
||||
fgr::Why probe(Fg& s) {
|
||||
Library& l = lib();
|
||||
#ifdef _WIN32
|
||||
SetThreadErrorMode(GetThreadErrorMode() | SEM_FAILCRITICALERRORS, nullptr); // ((Triforce, 11-27) as load_library's
|
||||
#endif
|
||||
{
|
||||
std::lock_guard lk(l.mu);
|
||||
if (!load_library(l)) return fgr::FG_NO_LIBRARY;
|
||||
|
||||
Reference in New Issue
Block a user