summaryrefslogtreecommitdiff
path: root/src/JSystem/J2DGraph/J2DWindowEx.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-11-19 17:10:03 -0500
committerGitHub <noreply@github.com>2025-11-19 14:10:03 -0800
commit4cf2c7e37d08cc2ae9c0ef42435fc89ab87734e7 (patch)
tree881aa06a300da3bcb30d95a27a18a291463dc47a /src/JSystem/J2DGraph/J2DWindowEx.cpp
parent8956be538efe0517dc2c5f1fbedee9fbed48115d (diff)
Misc fixes (#2830)
* Replace DANPCF_C_HACK with a better fakematch * d_a_obj_item OK * Fix ninja diff * Misc debug/nonmatching fixes * Fix ninja diff for PAL * Fix bad PAL split
Diffstat (limited to 'src/JSystem/J2DGraph/J2DWindowEx.cpp')
-rw-r--r--src/JSystem/J2DGraph/J2DWindowEx.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/JSystem/J2DGraph/J2DWindowEx.cpp b/src/JSystem/J2DGraph/J2DWindowEx.cpp
index 411462819a..d052b84ba5 100644
--- a/src/JSystem/J2DGraph/J2DWindowEx.cpp
+++ b/src/JSystem/J2DGraph/J2DWindowEx.cpp
@@ -658,10 +658,7 @@ bool J2DWindowEx::setBlackWhite(JUtility::TColor black, JUtility::TColor white)
return false;
}
- bool bVar1 = false;
- if ((u32)black != 0 || (u32)white != 0xffffffff) {
- bVar1 = true;
- }
+ bool bVar1 = (u32)black != 0 || (u32)white != 0xffffffff;
u8 uVar3 = bVar1 ? 2 : 1;
for (int i = 0; i < 4; i++) {
mFrameMaterial[i]->getTevBlock()->setTevStageNum(uVar3);