Clean up code, remove fakematches, add UNUSED, enable warnings (#2992)

* Remove NDEBUG_DEFINED fakematch, clean up getName temps

* Fix ifdef

* Fix bad JSystem pch ifdef breaking decomp.me

* Remove Acch Chk fakematches

* Private Acch fields

* Fix some clangd errors in headers

* Add UNUSED macro for matching debug parameters

* Enable clangd unused-parameter warning

* Remove extern from initializers

Probably added by dol2asm?

* Fix process profile definitions

* Remove leftover dol2asm address comments

* Remove some unnecessary double casts

* Enable some more clangd warnings

* Fix missing usages of fopAcM_ct

* Fix wrong enum usage

* Fix more fakematches
This commit is contained in:
LagoLunatic
2025-12-23 18:53:10 -05:00
committed by GitHub
parent 6ef13c620a
commit 877889c510
887 changed files with 1174 additions and 1727 deletions
+4
View File
@@ -270,7 +270,11 @@ struct TLinkList_factory : public TLinkList<T, I> {
template <typename T, int I>
TLinkList_factory<T, I>::~TLinkList_factory() {
#ifdef __MWERKS__
JGADGET_ASSERTWARN(934, empty());
#else
JGADGET_ASSERTWARN(934, this->empty());
#endif
}
template <typename T>
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef JSYSTEM_H
#define JSYSTEM_H
#ifdef __MWERKS__
#if __MWERKS__ && !defined(DECOMPCTX)
#include "JSystem/JSystem.mch" // IWYU pragma: export
#else
#include "JSystem/JSystem.pch" // IWYU pragma: export
+2 -2
View File
@@ -79,7 +79,7 @@ public:
/* 0x6C */ const IsLeadByte_func* mIsLeadByte;
};
extern u8 const JUTResFONT_Ascfont_fix12[16736];
extern u8 const JUTResFONT_Ascfont_fix16[16736];
extern u8 const JUTResFONT_Ascfont_fix12[];
extern u8 const JUTResFONT_Ascfont_fix16[];
#endif /* JUTRESFONT_H */