From 4cf2c7e37d08cc2ae9c0ef42435fc89ab87734e7 Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Wed, 19 Nov 2025 17:10:03 -0500 Subject: 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 --- src/JSystem/J2DGraph/J2DWindowEx.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/JSystem/J2DGraph/J2DWindowEx.cpp') 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); -- cgit v1.2.3