mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-21 00:59:59 -04:00
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:
@@ -952,6 +952,15 @@ public partial class MainWindow : Window
|
||||
clock.Stop();
|
||||
elapsed.Stop();
|
||||
runner = null;
|
||||
// ((Triforce, 11-18) a Cancel first, whatever the run said: Runner.Cancel asks the game's shader preparation to stop
|
||||
// and it ends well, so make_game.py goes on to its @@done. Taken as done, a Cancel in "Preparing shaders" said "Your
|
||||
// game is ready", made the shortcuts and freed the build's files, where it went back to the files, as before)
|
||||
if (failure == "cancelled")
|
||||
{
|
||||
SetStep(0);
|
||||
ShowPage(FilesPage);
|
||||
return;
|
||||
}
|
||||
if (finished.Length > 0)
|
||||
{
|
||||
foreach (var (id, r) in rows)
|
||||
@@ -964,12 +973,6 @@ public partial class MainWindow : Window
|
||||
ShowReady();
|
||||
return;
|
||||
}
|
||||
if (failure == "cancelled")
|
||||
{
|
||||
SetStep(0);
|
||||
ShowPage(FilesPage);
|
||||
return;
|
||||
}
|
||||
if (current != null && rows.TryGetValue(current, out var row)) row.Stopped();
|
||||
ShowProblem(failure ?? "The build tools stopped without saying why.", tools: failure?.Contains("antivirus", StringComparison.OrdinalIgnoreCase) == true);
|
||||
}
|
||||
@@ -1231,7 +1234,7 @@ public partial class MainWindow : Window
|
||||
void CloseWindow(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if (runner != null && MessageBox.Show(this, T(S.CloseQuestion), "Hookshot", MessageBoxButton.YesNo) != MessageBoxResult.Yes) return;
|
||||
runner?.Cancel();
|
||||
runner?.Cancel().Wait(); // (the app ends with the window: a shader preparation asked to stop is waited for, or killed)
|
||||
Close();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user