Triforce v0.9.0

Character tab, faster renderer defaults, HD rumble shipped, and the 11-30 bug pass: ending softlock below 60 fps, adult first-night lock, Intel Arc robust buffers, adult map, randomizer load order.
This commit is contained in:
ruckus7382sfgsgdf
2026-11-30 20:55:14 -06:00
parent 8cb23131f9
commit 822ee913bc
86 changed files with 8128 additions and 438 deletions

View File

@@ -648,6 +648,7 @@ int hos_oot_autoload_menu(uint64_t vt, int focused_entry) { (void)vt, (void)focu
void hos_oot_menu_focus(Ctx *c, uint64_t screen, uint64_t pane, uint64_t lr);
void hos_oot_menu_tick(Ctx *c, uint64_t screen);
int hos_oot_options_front(void);
int hos_oot_pause_front(void);
static int fails;
#define CHECK(x) do { if (!(x)) { printf("FAIL line %d: %s\n", __LINE__, #x); fails++; } } while (0)
int main(void) {
@@ -685,13 +686,16 @@ int main(void) {
const uint64_t pause = FAKE_BASE + 0x3000, pause_vt = 0x84c0baa8ULL;
memcpy(GP(pause), &pause_vt, 8);
now_ns += 300000000;
CHECK(!hos_oot_pause_front());
hos_oot_menu_tick(&ctx, pause);
CHECK(told == 2); /* (the pause menu is not the Options screen) */
CHECK(hos_oot_pause_front() && !hos_oot_options_front()); /* ((Triforce, 11-30) nn_hid.c compare_to_play's B on it) */
now_ns += 16000000;
hos_oot_menu_tick(&ctx, options);
CHECK(told == 3 && told_value == 2);
for (int i = 0; i < 60; i++) now_ns += 16000000, hos_oot_menu_tick(&ctx, options);
CHECK(told == 63 && told_value == 2);
CHECK(!hos_oot_pause_front()); /* (its updates stopped under the Options: no B for it while they are in front) */
now_ns += 1000000000; /* (closed, back in play, then the title's Options) */
hos_oot_menu_tick(&ctx, options);
CHECK(told == 64 && told_value == 1);