NX/VITA: Fix SCREENFLASH_FADE_INANDOUT updating too slow

This commit is contained in:
cypress 2024-01-14 21:21:38 -05:00 committed by GitHub
parent 24c89e197a
commit c34deca69f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2140,11 +2140,11 @@ void HUD_Screenflash (void)
else { else {
// Fade In // Fade In
if (percentage_complete < 0.5) { if (percentage_complete < 0.5) {
flash_alpha = (float)percentage_complete; flash_alpha = (float)percentage_complete*2;
} }
// Fade Out // Fade Out
else { else {
flash_alpha = invertfloat((float)percentage_complete); flash_alpha = invertfloat((float)percentage_complete)(2;
} }
} }