too tired but implemented os stuff.

This commit is contained in:
Prakxo
2022-12-24 20:41:04 +01:00
parent 295ba86193
commit 1753100e34
12 changed files with 72 additions and 39 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
#ifndef _JSYSTEM_JUT_JUTASSERTION_H
#define _JSYSTEM_JUT_JUTASSERTION_H
void JC_JUTAssertion_changeDevice(u32); // I know these are C++ but these were used to match a c function so I'll fix these when I need them or fix zurumode update.
void JC_JUTAssertion_changeDevice(u32);
#endif
+4
View File
@@ -5,4 +5,8 @@
void OSReport(const char*, ...);
asm BOOL OSDisableInterrupts(void);
asm BOOL OSEnableInterrupts(void);
asm BOOL OSRestoreInterrupts(BOOL level);
#endif
+1 -1
View File
@@ -3,5 +3,5 @@
static asm void Config24MB();
static asm void Config48MB();
static asm void ReconfigBATs();
void ReconfigBATs();
#endif
+5 -6
View File
@@ -2,19 +2,18 @@
#define GFXPRINT_H
#include "types.h"
typedef struct gfxprint_obj {
s32 unk0;
struct unknown_struct * unk4;
struct unknown_struct * unk4; // This is from GBI.h, from what I've seen
s16 NewX;
s16 NewY;
u16 PrevX;
u8 PrevY;
u8 unkF;
u8 flags;
u8 R;
u8 G;
u8 B;
u8 A;
u8 B;
u8 G;
u8 A;
};
void gfxprint_locate(struct gfxprint_obj*, s32, s32);
+1 -1
View File
@@ -5,6 +5,6 @@
void bcmp (const void *v1, const void *v2, u32 size);
void bcopy(const void *dst, void *src, size_t n);
void bzero(void *ptr, size_t size);
extern s32 osAppNMIBuffer[16]; //?? It's most likely an u8 with 64 instead of s32 of 16, so the function that uses this is probably a fakematch.
extern s32 osAppNMIBuffer[15];
#endif
-3
View File
@@ -22,9 +22,6 @@ extern s32 zurumode_flag;
#define OS_APP_NMI_ZURUMODE_IDX 15
#define FALSE 0
#define TRUE 1
#define BUTTON_NONE 0x0000
#define BUTTON_CRIGHT 0x0001