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:
@@ -53,7 +53,16 @@ public sealed partial class Backend
|
||||
});
|
||||
}
|
||||
|
||||
// ((Triforce, 11-26) one change of the options file at a time: two sliders' values sent together each read, changed and
|
||||
// wrote the file through one .new file, and one was lost or failed)
|
||||
readonly object gameOptsGate = new();
|
||||
|
||||
void SetGameOption(string key, int v)
|
||||
{
|
||||
lock (gameOptsGate) SetGameOptionOne(key, v);
|
||||
}
|
||||
|
||||
void SetGameOptionOne(string key, int v)
|
||||
{
|
||||
if (!CanChangeGame(out var f) || GameOptionsSchema.ByKey(key) == null) { RefreshSettingsState(); return; }
|
||||
f!.Set(key, v);
|
||||
|
||||
Reference in New Issue
Block a user