mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 06:54:28 -04:00
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:
@@ -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,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
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user