From c34deca69f8375f6f75aefe50efb848cfe171290 Mon Sep 17 00:00:00 2001 From: cypress Date: Sun, 14 Jan 2024 21:21:38 -0500 Subject: [PATCH] NX/VITA: Fix SCREENFLASH_FADE_INANDOUT updating too slow --- source/gl_hud.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/gl_hud.c b/source/gl_hud.c index aee4c75..0d67081 100644 --- a/source/gl_hud.c +++ b/source/gl_hud.c @@ -2140,11 +2140,11 @@ void HUD_Screenflash (void) else { // Fade In if (percentage_complete < 0.5) { - flash_alpha = (float)percentage_complete; + flash_alpha = (float)percentage_complete*2; } // Fade Out else { - flash_alpha = invertfloat((float)percentage_complete); + flash_alpha = invertfloat((float)percentage_complete)(2; } } @@ -2251,4 +2251,4 @@ void HUD_Draw (void) { HUD_Screenflash(); GL_SetCanvas(CANVAS_DEFAULT); -} \ No newline at end of file +}