summaryrefslogtreecommitdiff
path: root/src/JSystem/J2DGraph
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2026-08-07 16:40:56 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2026-08-07 16:40:56 -0400
commit07b55421f9ce2db2fecbaaa34a3e1b59d6f231a7 (patch)
treeff592e73778c07836dbbf93912b8a2c248c6307a /src/JSystem/J2DGraph
parent5e00819c5ba6ea0c7177d2f0aae29ccc7c49f55c (diff)
msg inline fixes, remove some fake jsystem inlines
Diffstat (limited to 'src/JSystem/J2DGraph')
-rw-r--r--src/JSystem/J2DGraph/J2DPrint.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/JSystem/J2DGraph/J2DPrint.cpp b/src/JSystem/J2DGraph/J2DPrint.cpp
index 132f0c76..bfb5dc20 100644
--- a/src/JSystem/J2DGraph/J2DPrint.cpp
+++ b/src/JSystem/J2DGraph/J2DPrint.cpp
@@ -237,9 +237,7 @@ f32 J2DPrint::parse(const u8* param_1, int param_2, int param_3, u16* param_4, J
if (mFont->isFixed()) {
field_0x34 = mFont->getFixedWidth();
} else {
- JUTFont::TWidth uStack_ec;
- mFont->getWidthEntry(r27, &uStack_ec);
- field_0x34 = uStack_ec.field_0x1;
+ field_0x34 = (u32)mFont->getWidth(r27);
}
field_0x34 *= field_0x18 / mFont->getCellWidth();