Triforce v0.2.0

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ruckus7382sfgsgdf
2026-11-10 19:32:48 -06:00
commit 34b3683441
1730 changed files with 554853 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
/* Movie-only linear-upscale override policy. */
#pragma once
#include <cstring>
namespace mkwvk::movie_upscale_policy {
enum class Mode { Automatic, Linear };
inline Mode parse(const char* value) {
return value && std::strcmp(value, "linear") == 0 ? Mode::Linear : Mode::Automatic;
}
inline bool use_linear(Mode mode, bool automatic_fallback, bool keep_all, bool cooperative_matrix, bool gameplay_network) {
return cooperative_matrix && !gameplay_network && !keep_all && (mode == Mode::Linear || automatic_fallback);
}
} // namespace mkwvk::movie_upscale_policy