summaryrefslogtreecommitdiff
path: root/src/JSystem/J2DGraph/J2DWindow.cpp
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2023-12-27 22:17:41 -0800
committerJasper St. Pierre <jstpierre@mecheye.net>2023-12-27 22:19:15 -0800
commit2acf4ca63fa8a40cf223db91b272814d98236679 (patch)
treeddd9532e27353292b81dd4af81b791eb10260a86 /src/JSystem/J2DGraph/J2DWindow.cpp
parent9e7b8490f85cdae8e68fa7ce6a801ecc54b3b42e (diff)
misc
Diffstat (limited to 'src/JSystem/J2DGraph/J2DWindow.cpp')
-rw-r--r--src/JSystem/J2DGraph/J2DWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/JSystem/J2DGraph/J2DWindow.cpp b/src/JSystem/J2DGraph/J2DWindow.cpp
index 732e4da9..77741913 100644
--- a/src/JSystem/J2DGraph/J2DWindow.cpp
+++ b/src/JSystem/J2DGraph/J2DWindow.cpp
@@ -142,7 +142,7 @@ void J2DWindow::draw_private(const JGeometry::TBox2<f32>& frameBox, const JGeome
drawFrameTexture(mpFrameTexture4, right, top,
(field_0x110 >> 1) & 1,
- (field_0x110 >> 0) & 1, (field_0x111 & 1));
+ (field_0x110 >> 0) & 1, (field_0x111 & 2));
s0 = ((field_0x110 >> 1) & 1) ? (u16)0x8000 : (u16)0;
t0 = ((field_0x110 >> 0) & 1) ? (u16)0 : (u16)0x8000;
@@ -156,7 +156,7 @@ void J2DWindow::draw_private(const JGeometry::TBox2<f32>& frameBox, const JGeome
drawFrameTexture(mpFrameTexture3, 0.0f, top,
(field_0x110 >> 3) & 1,
- (field_0x110 >> 2) & 1, (field_0x111 & 1));
+ (field_0x110 >> 2) & 1, (field_0x111 & 4));
s0 = ((field_0x110 >> 3) & 1) ? (u16)0 : (u16)0x8000;
s1 = (u16)(s0 ^ 0x8000);