Triforce v0.8.0

Evil HD (SMAA Ultra, 16x filtering, full textures, ambient occlusion with bounce light, sunlight shafts, foliage drawn 4x as far, the remastered texture pack's loader and the launcher's download of it), FSR 3.1 frame generation for every GPU, Intel XeSS, FSR 4 model choice, ReShade presets, Auto (this PC), HUD placement, the options menu in 13 languages, a second input for every control, hold to toggle, DualSense speaker and haptics, NFC from the player's own dumps, the above-60 fps game fixes, the Debug tab's flight and Inventory fixes, the launcher's full settings, and over 250 fixes.
This commit is contained in:
ruckus7382sfgsgdf
2026-11-25 10:21:32 -06:00
parent 861702476a
commit 4fa4f9188b
881 changed files with 179428 additions and 15581 deletions

View File

@@ -127,7 +127,7 @@ void TranslatorVisitor::ISBERD(u64 insn) {
// nx2 pseudo instruction for the ISBERD/ISBEWR of Switch 2 task and mesh programs (see
// frontend/ampere/lower_to_maxwell.h). Addresses are linear bytes in the stage buffer: reads come
// from the input attribute region, writes go to the output attribute or map region.
// from the input attribute region (or with .O the output one, read back), writes go to the output attribute or map region.
void TranslatorVisitor::ISBE_nx2(u64 insn) {
union {
u64 raw;
@@ -136,6 +136,7 @@ void TranslatorVisitor::ISBE_nx2(u64 insn) {
BitField<20, 24, u64> offset;
BitField<44, 1, u64> is_32;
BitField<45, 1, u64> attribute;
BitField<47, 1, u64> output;
BitField<48, 1, u64> write;
} const isbe{insn};
@@ -145,7 +146,8 @@ void TranslatorVisitor::ISBE_nx2(u64 insn) {
}
const IR::U32 address{ir.IAdd(X(isbe.address_reg), ir.Imm32(static_cast<u32>(isbe.offset)))};
if (isbe.write == 0) {
X(isbe.reg, ir.IsbeRead(address));
// (hookshot) .O: the program reads back its own output region (a task's payload, a mesh's attributes)
X(isbe.reg, isbe.output != 0 ? ir.IsbeReadOutput(address) : ir.IsbeRead(address));
return;
}
const IR::U32 value{X(isbe.reg)};