mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-22 23:09:52 -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:
@@ -266,10 +266,6 @@ GXColor mDoGph_gInf_c::mBackColor = {0, 0, 0, 0};
|
||||
|
||||
GXColor mDoGph_gInf_c::mFadeColor = {0, 0, 0, 0};
|
||||
|
||||
/* 80450BE4 0001+00 data_80450BE4 None */
|
||||
/* 80450BE5 0001+00 data_80450BE5 None */
|
||||
/* 80450BE6 0001+00 mFade__13mDoGph_gInf_c None */
|
||||
/* 80450BE7 0001+00 data_80450BE7 None */
|
||||
u8 mDoGph_gInf_c::mBlureFlag;
|
||||
|
||||
u8 mDoGph_gInf_c::mBlureRate;
|
||||
@@ -1006,7 +1002,7 @@ static void drawDepth2(view_class* param_0, view_port_class* param_1, int param_
|
||||
}
|
||||
|
||||
static void trimming(view_class* param_0, view_port_class* param_1) {
|
||||
(void)param_0;
|
||||
UNUSED(param_0);
|
||||
|
||||
s16 y_orig = (int)param_1->y_orig & ~7;
|
||||
s16 y_orig_pos = y_orig < 0 ? 0 : y_orig;
|
||||
@@ -1275,8 +1271,8 @@ void mDoGph_gInf_c::bloom_c::draw() {
|
||||
}
|
||||
|
||||
static void retry_captue_frame(view_class* param_0, view_port_class* param_1, int param_2) {
|
||||
(void)param_0;
|
||||
(void)param_2;
|
||||
UNUSED(param_0);
|
||||
UNUSED(param_2);
|
||||
|
||||
s16 x_orig = (int)param_1->x_orig & 0xFFFFFFF8;
|
||||
s16 y_orig = (int)param_1->y_orig & 0xFFFFFFF8;
|
||||
|
||||
Reference in New Issue
Block a user