Re-add stubbed function

This commit is contained in:
Zac 2024-07-01 01:49:02 +00:00 committed by GitHub
parent 7054314e4a
commit 9198c035bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 6 additions and 4 deletions

View File

@ -126,7 +126,7 @@ FCheckLm__FP2LMf = 0x1EB050; // type:func
FCheckAlm = 0x1EB080; // type:func FCheckAlm = 0x1EB080; // type:func
GLimitLm = 0x1EB0F8; // type:func GLimitLm = 0x1EB0F8; // type:func
SgnCompareG = 0x1EB128; // type:func SgnCompareG = 0x1EB128; // type:func
Force = 0x1EB160; // type:func Force__FPv = 0x1EB160; // type:func
MinimizeRange = 0x1EB168; // type:func MinimizeRange = 0x1EB168; // type:func

View File

@ -34,6 +34,6 @@ int FCheckLm(LM* plm, float g);
/** /**
* @brief Stubbed function, does nothing. * @brief Stubbed function, does nothing.
*/ */
void Force(); void Force(void *pv);
#endif // UTIL_H #endif // UTIL_H

View File

@ -11,7 +11,6 @@ INCLUDE_ASM(const s32, "P2/difficulty", OnDifficultyWorldPostLoad);
void OnDifficultyInitialTeleport(DIFFICULTY* pdifficulty) { void OnDifficultyInitialTeleport(DIFFICULTY* pdifficulty) {
// Stubbed, does nothing. // Stubbed, does nothing.
return;
} }
INCLUDE_ASM(const s32, "P2/difficulty", OnDifficultyPlayerDeath); INCLUDE_ASM(const s32, "P2/difficulty", OnDifficultyPlayerDeath);

View File

@ -50,7 +50,10 @@ INCLUDE_ASM(const s32, "P2/util", GLimitLm);
INCLUDE_ASM(const s32, "P2/util", SgnCompareG); INCLUDE_ASM(const s32, "P2/util", SgnCompareG);
INCLUDE_ASM(const s32, "P2/util", Force); // stubbed void Force(void *pv)
{
// Stubbed, does nothing.
}
INCLUDE_ASM(const s32, "P2/util", MinimizeRange); INCLUDE_ASM(const s32, "P2/util", MinimizeRange);
INCLUDE_ASM(const s32, "P2/util", func_001EB458); INCLUDE_ASM(const s32, "P2/util", func_001EB458);