mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 10:43:44 +01:00
More const/static-ification
This commit is contained in:
1 parent
2ba4eaf3dd
commit
eccd7f3767
14 files changed
+20
-21
No files matched your search
@@ -205,8 +205,7 @@ void PSPDialog::FinishFadeOut() {
|
||||
ChangeStatus(SCE_UTILITY_STATUS_FINISHED, 0);
|
||||
}
|
||||
|
||||
u32 PSPDialog::CalcFadedColor(u32 inColor)
|
||||
{
|
||||
u32 PSPDialog::CalcFadedColor(u32 inColor) const {
|
||||
u32 alpha = inColor >> 24;
|
||||
alpha = alpha * fadeValue / 255;
|
||||
return (inColor & 0x00FFFFFF) | (alpha << 24);
|
||||
|
||||
Reference in new issue
Block a user