Small general cleanup (#1644)

* m2ctx.py

* check warnings

* vimode includes

* bgcheck includes

* padmgr includes

* sprintf

* z_std_dma

* sys_ucode

* z64voice

* z64lib

* z64effect_ss

* segment_symbols.h

* padutils

* main

* stdarg.h

* fault

* bzero

* undefined_syms

* z64rumble
This commit is contained in:
Derek Hensley
2024-06-14 21:47:24 -07:00
committed by GitHub
parent 0b375cadb0
commit 3705eaedac
27 changed files with 58 additions and 43 deletions
+7 -3
View File
@@ -31,11 +31,15 @@
* done while waiting for this operation to complete.
*/
#include "global.h"
#include "PR/controller.h"
#include "PR/os_motor.h"
#include "padmgr.h"
#include "libc64/sprintf.h"
#include "PR/os_motor.h"
#include "fault.h"
#include "macros.h"
#include "main.h"
#include "z64math.h"
#include "z64voice.h"
extern FaultMgr gFaultMgr;
+2
View File
@@ -5,6 +5,8 @@
#include "sys_ucode.h"
#include "stdint.h"
u64* initialgspUcodeText = gspF3DZEX2_NoN_PosLight_fifoTextStart;
u64* initialgspUcodeData = gspF3DZEX2_NoN_PosLight_fifoDataStart;
+1 -1
View File
@@ -1,9 +1,9 @@
#include "z64bgcheck.h"
#include "global.h"
#include "libc64/fixed_point.h"
#include "libc64/sprintf.h"
#include "global.h"
#include "fault.h"
#include "vt.h"
#include "z64actor.h"
-1
View File
@@ -43,7 +43,6 @@
*
*/
#include "prevent_bss_reordering.h"
#include "global.h"
#include "string.h"
#include "z64malloc.h"
-22
View File
@@ -14,28 +14,6 @@ static s16 sBssPad;
u8 gDisablePlayerCsActionStartPos;
s16 gDungeonBossWarpSceneId;
// clang-format off
// Partial structs taken from "prevent_bss_reordering.h"
struct Dummy200 { int x; };
struct Dummy201 { int x; };
struct Dummy202 { int x; };
struct Dummy203 { int x; };
struct Dummy204 { int x; };
struct Dummy205 { int x; };
struct Dummy206 { int x; };
struct Dummy207 { int x; };
struct Dummy208 { int x; };
struct Dummy209 { int x; };
struct Dummy210 { int x; };
struct Dummy211 { int x; };
struct Dummy212 { int x; };
struct Dummy213 { int x; };
struct Dummy214 { int x; };
struct Dummy215 { int x; };
struct Dummy216 { int x; };
struct Dummy217 { int x; };
// clang-format on
#include "z64quake.h"
#include "z64rumble.h"
#include "z64shrink_window.h"
+8 -2
View File
@@ -1,8 +1,14 @@
#include "global.h"
#include "debug.h"
#include "z64vimode.h"
#include "stdbool.h"
#include "PR/viint.h"
#include "debug.h"
#include "macros.h"
#include "main.h"
#include "padutils.h"
#include "regs.h"
typedef struct {
/* 0x00 */ u32 burst;
/* 0x04 */ u32 vSync;