Merge remote-tracking branch 'hm64/develop' into grassanity

This commit is contained in:
Fredrik Andréasson 2025-01-28 03:16:21 +01:00
commit fbf1b49c3e

View File

@ -185,7 +185,7 @@ void OnZTitleUpdatePressButtonToSkip(void* gameState) {
if (CHECK_BTN_ANY(titleContext->state.input->press.button, BTN_A | BTN_B | BTN_START)) { if (CHECK_BTN_ANY(titleContext->state.input->press.button, BTN_A | BTN_B | BTN_START)) {
// Force the title state to start fading to black and to last roughly 5 frames based on current fade in/out // Force the title state to start fading to black and to last roughly 5 frames based on current fade in/out
titleContext->visibleDuration = 0; titleContext->visibleDuration = 0;
titleContext->addAlpha = (255 - titleContext->coverAlpha) / 5; titleContext->addAlpha = std::max<int16_t>((255 - titleContext->coverAlpha) / 5, 1);
} }
} }