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
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}
}