From 07b55421f9ce2db2fecbaaa34a3e1b59d6f231a7 Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Fri, 7 Aug 2026 16:40:56 -0400 Subject: msg inline fixes, remove some fake jsystem inlines --- src/JSystem/J2DGraph/J2DPrint.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/JSystem/J2DGraph/J2DPrint.cpp') 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(); -- cgit v1.2.3