From 6e0608e2f11770a441bc404a86a5d74ce6d59a69 Mon Sep 17 00:00:00 2001 From: shibbo Date: Wed, 16 Oct 2024 21:13:04 -0400 Subject: [PATCH] finish fixing linking errors for all libs but `Camera` --- config/RMGK01/symbols.txt | 2 +- src/Game/Ride/Pole.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/RMGK01/symbols.txt b/config/RMGK01/symbols.txt index 363bbfc7..87dc05b7 100644 --- a/config/RMGK01/symbols.txt +++ b/config/RMGK01/symbols.txt @@ -38428,7 +38428,7 @@ GDSetTexLookupMode = .text:0x8044F3F8; // type:function size:0x260 scope:global GDSetTexImgAttr = .text:0x8044F658; // type:function size:0xF8 scope:global align:4 GDSetTexImgPtr = .text:0x8044F750; // type:function size:0xE8 scope:global align:4 GDSetCurrentMtx = .text:0x8044F838; // type:function size:0x3D4 scope:global align:4 -fn_8044FC10 = .text:0x8044FC10; // type:function size:0x90 +KPADSetBtnRepeat = .text:0x8044FC10; // type:function size:0x90 fn_8044FCA0 = .text:0x8044FCA0; // type:function size:0x1C fn_8044FCC0 = .text:0x8044FCC0; // type:function size:0x1C fn_8044FCE0 = .text:0x8044FCE0; // type:function size:0x1C diff --git a/src/Game/Ride/Pole.cpp b/src/Game/Ride/Pole.cpp index 77a597f8..157a7d57 100644 --- a/src/Game/Ride/Pole.cpp +++ b/src/Game/Ride/Pole.cpp @@ -530,7 +530,7 @@ bool Pole::receiveOtherMsg(u32 msg, HitSensor *pSender, HitSensor *pReceiver) { } else { TVec3f v22(mPosition); - v22.subtract(*MR::getPlayerPos()); + v22.sub(*MR::getPlayerPos()); MR::vecKillElement(v22, _D8, &v22); if (MR::isNearZero(v22, 0.001f)) { v22.set(_E4); @@ -553,7 +553,7 @@ bool Pole::receiveOtherMsg(u32 msg, HitSensor *pSender, HitSensor *pReceiver) { mRotation.y = 90.0f * temp; } TVec3f v21(mPosition); - v21.subtract(_8C); + v21.sub(_8C); _B0 = v21.dot(_D8); f32 v16 = _A4; f32 temp; @@ -873,4 +873,4 @@ namespace NrvPole { Pole *pActor = (Pole*)pSpine->mExecutor; pActor->exeBindHandstandTurn(); } -}; \ No newline at end of file +};