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
+8 -8
View File
@@ -132,7 +132,7 @@ static leafdraw_method_class l_dOvlpFd_Method = {
(process_method_func)dOvlpFd_Draw,
};
extern overlap_process_profile_definition g_profile_OVERLAP0 = {
overlap_process_profile_definition g_profile_OVERLAP0 = {
fpcLy_ROOT_e,
0,
fpcPi_CURRENT_e,
@@ -146,7 +146,7 @@ extern overlap_process_profile_definition g_profile_OVERLAP0 = {
&l_dOvlpFd_Method,
};
extern overlap_process_profile_definition g_profile_OVERLAP1 = {
overlap_process_profile_definition g_profile_OVERLAP1 = {
fpcLy_ROOT_e,
0,
fpcPi_CURRENT_e,
@@ -160,7 +160,7 @@ extern overlap_process_profile_definition g_profile_OVERLAP1 = {
&l_dOvlpFd_Method,
};
extern overlap_process_profile_definition g_profile_OVERLAP6 = {
overlap_process_profile_definition g_profile_OVERLAP6 = {
fpcLy_ROOT_e,
0,
fpcPi_CURRENT_e,
@@ -174,7 +174,7 @@ extern overlap_process_profile_definition g_profile_OVERLAP6 = {
&l_dOvlpFd_Method,
};
extern overlap_process_profile_definition g_profile_OVERLAP7 = {
overlap_process_profile_definition g_profile_OVERLAP7 = {
fpcLy_ROOT_e,
0,
fpcPi_CURRENT_e,
@@ -188,7 +188,7 @@ extern overlap_process_profile_definition g_profile_OVERLAP7 = {
&l_dOvlpFd_Method,
};
extern overlap_process_profile_definition g_profile_OVERLAP8 = {
overlap_process_profile_definition g_profile_OVERLAP8 = {
fpcLy_ROOT_e,
0,
fpcPi_CURRENT_e,
@@ -202,7 +202,7 @@ extern overlap_process_profile_definition g_profile_OVERLAP8 = {
&l_dOvlpFd_Method,
};
extern overlap_process_profile_definition g_profile_OVERLAP9 = {
overlap_process_profile_definition g_profile_OVERLAP9 = {
fpcLy_ROOT_e,
0,
fpcPi_CURRENT_e,
@@ -216,7 +216,7 @@ extern overlap_process_profile_definition g_profile_OVERLAP9 = {
&l_dOvlpFd_Method,
};
extern overlap_process_profile_definition g_profile_OVERLAP10 = {
overlap_process_profile_definition g_profile_OVERLAP10 = {
fpcLy_ROOT_e,
0,
fpcPi_CURRENT_e,
@@ -230,7 +230,7 @@ extern overlap_process_profile_definition g_profile_OVERLAP10 = {
&l_dOvlpFd_Method,
};
extern overlap_process_profile_definition g_profile_OVERLAP11 = {
overlap_process_profile_definition g_profile_OVERLAP11 = {
fpcLy_ROOT_e,
0,
fpcPi_CURRENT_e,