Triforce v0.4.0

What was merged from NX2navi (DLSS frame generation, AMD FSR 4 in Setup builds, texture detail by video memory, sprint, volume, frame caps, safer saves, the above-60 fixes), the ultrawide HUD at the screen edges, camera speed, movies without the AV1 Video Extension, the 5120x2880 + RenoDX HDR start fix, the renderer work of 11-14 and the first float changes of the lift.
This commit is contained in:
ruckus7382sfgsgdf
2026-11-15 06:39:00 -06:00
parent 183b05d8c4
commit 93eeb714c2
87 changed files with 5947 additions and 153 deletions

View File

@@ -245,6 +245,11 @@ static int mouse_stick(int32_t *rx, int32_t *ry, int pointing) {
read after a pause starts afresh) */
const int64_t ticks = next_tick ? (now - next_tick) / MOUSE_TICK_NS + 1 : 1;
double ox = look_x, oy = look_y;
if (!pointing) { /* (Triforce: the Camera speed row is the stick's; the game multiplies this deflection by it too) */
double hos_camera_speed(void); /* (host/prompts.c) */
const double cam = hos_camera_speed();
ox /= cam, oy /= cam;
}
const double shown_length = sqrt(ox * ox + oy * oy);
if (shown_length > 1) ox /= shown_length, oy /= shown_length;
shown[0] = (int32_t)lround(ox * 32767);
@@ -944,6 +949,10 @@ static void npad_states(Ctx *c) {
}
if (connected) {
read_input(&buttons, stick);
{ /* (Triforce) the sprint button's press is its own while Link plays (host/oot_sprint.c) */
void hos_oot_sprint_pad(uint64_t *buttons);
hos_oot_sprint_pad(&buttons);
}
uint64_t axes = 0;
uint64_t flight = 0;
int height = 0;