summaryrefslogtreecommitdiff
path: root/arm9/lib/src/GX_g2.c
diff options
context:
space:
mode:
Diffstat (limited to 'arm9/lib/src/GX_g2.c')
-rw-r--r--arm9/lib/src/GX_g2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arm9/lib/src/GX_g2.c b/arm9/lib/src/GX_g2.c
index bde1d1a5..99ba0e26 100644
--- a/arm9/lib/src/GX_g2.c
+++ b/arm9/lib/src/GX_g2.c
@@ -50,7 +50,7 @@ ARM_FUNC void G2x_ChangeBlendBrightness_(u16 *ptr, fx32 brightness){
{
if ((temp & 0xC0) == 0x80)
{
- ptr[0] = (u16)(temp & ~0xC0 | 0xC0);
+ ptr[0] = (u16)((temp & ~0xC0) | 0xC0);
}
ptr[2] = (u16)(-brightness);
}
@@ -58,7 +58,7 @@ ARM_FUNC void G2x_ChangeBlendBrightness_(u16 *ptr, fx32 brightness){
{
if ((temp & 0xC0) == 0xC0)
{
- ptr[0] = (u16)(temp & ~0xC0 | 0x80);
+ ptr[0] = (u16)((temp & ~0xC0) | 0x80);
}
ptr[2] = (u16)brightness;
}