diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2023-09-02 06:38:08 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-02 16:38:08 +0300 |
| commit | 6432e1541ebcf6ba1c535b07f5227bdd4a8d0e61 (patch) | |
| tree | d01d11c2218d7db5dd00d42b57112765a6ee2ceb /libs/JSystem/J2DGraph/J2DTextBox.cpp | |
| parent | 2d45b68231560eaf0001914c8f2da4bd81f9dd59 (diff) | |
setup dolphin VEC/MTX function defines (#1903)
* setup VEC function defines
* setup MTX function defines
Diffstat (limited to 'libs/JSystem/J2DGraph/J2DTextBox.cpp')
| -rw-r--r-- | libs/JSystem/J2DGraph/J2DTextBox.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/JSystem/J2DGraph/J2DTextBox.cpp b/libs/JSystem/J2DGraph/J2DTextBox.cpp index d1f96c162b..184b319157 100644 --- a/libs/JSystem/J2DGraph/J2DTextBox.cpp +++ b/libs/JSystem/J2DGraph/J2DTextBox.cpp @@ -305,7 +305,7 @@ void J2DTextBox::draw(f32 posX, f32 posY) { if (mStringPtr != NULL) { print.print(0.0f, 0.0f, mAlpha, "%s", mStringPtr); } - PSMTXIdentity(m); + MTXIdentity(m); GXLoadPosMtxImm(m, 0); } } @@ -334,7 +334,7 @@ void J2DTextBox::draw(f32 posX, f32 posY, f32 param_2, J2DTextBoxHBinding hBind) print.printReturn(mStringPtr, param_2, 0.0f, hBind, VBIND_TOP, 0.0f, -mFontSizeY, mAlpha); } - PSMTXIdentity(m); + MTXIdentity(m); GXLoadPosMtxImm(m, 0); } } @@ -421,7 +421,7 @@ bool J2DTextBox::setConnectParent(bool connected) { /* 803008E8-80300950 2FB228 0068+00 1/0 1/0 0/0 .text drawSelf__10J2DTextBoxFff */ void J2DTextBox::drawSelf(f32 param_0, f32 param_1) { Mtx identity; - PSMTXIdentity(identity); + MTXIdentity(identity); drawSelf(param_0, param_1, &identity); } @@ -434,7 +434,7 @@ void J2DTextBox::drawSelf(f32 param_0, f32 param_1, Mtx* p_mtx) { J2DPrint print(mFont, mCharSpacing, mLineSpacing, mCharColor, mGradientColor, mBlackColor, mWhiteColor); print.setFontSize(mFontSizeX, mFontSizeY); - PSMTXConcat(*p_mtx, mGlobalMtx, m); + MTXConcat(*p_mtx, mGlobalMtx, m); GXLoadPosMtxImm(m, GX_PNMTX0); GXSetNumIndStages(0); |
