Move libultra variables to their respective headers (#1369)

* internal_rsp; move size_t and NULL to ultratypes.h

* guint.h

* Move system variables to os_system.h

* controller, pi and vi

* osint.h

* piint.h

* siint, ucode, viint, voiceinternal

* Remove remaining variables from variables.h

* format

* final renames

* bss

* review

* review
This commit is contained in:
Anghelo Carvajal
2023-09-15 11:02:27 -03:00
committed by GitHub
parent 626f09266d
commit 4b30f1a654
56 changed files with 226 additions and 274 deletions
+2
View File
@@ -36,6 +36,8 @@
#include "PR/os_motor.h"
#include "fault.h"
extern FaultMgr gFaultMgr;
#define PADMGR_RETRACE_MSG (1 << 0)
#define PADMGR_PRE_NMI_MSG (1 << 1)
#define PADMGR_NMI_MSG (1 << 2)
+1 -2
View File
@@ -3,8 +3,7 @@
* Description:
*/
#include "prevent_bss_reordering.h"
#include "global.h"
#include "z64actor.h"
#include "fault.h"
#include "sys_cfb.h"
#include "loadfragment.h"
+1
View File
@@ -43,6 +43,7 @@
*
*/
#include "prevent_bss_reordering.h"
#include "global.h"
#include "libc/string.h"
#include "z64quake.h"
-1
View File
@@ -1,4 +1,3 @@
#include "prevent_bss_reordering.h"
#include "global.h"
#include "z64collision_check.h"
+1 -1
View File
@@ -13,7 +13,7 @@ typedef struct {
NmiBuff* gNMIBuffer;
void Nmi_Init(void) {
gNMIBuffer = (NmiBuff*)osAppNmiBuffer;
gNMIBuffer = (NmiBuff*)osAppNMIBuffer;
gNMIBuffer->resetting = false;
if (osResetType == COLD_RESET) {
+1
View File
@@ -1,4 +1,5 @@
#include "global.h"
#include "PR/gs2dex.h"
#include "sys_cfb.h"
#include "z64snap.h"
#include "z64view.h"
+1
View File
@@ -1,4 +1,5 @@
#include "global.h"
#include "PR/gs2dex.h"
#include "debug.h"
void Room_Noop(PlayState* play, Room* room, Input* input, s32 arg3) {