match most of zurumode.

This commit is contained in:
Prakxo
2022-12-19 09:53:02 +01:00
parent ca8a839c96
commit a25019b474
9 changed files with 76 additions and 10 deletions
+6
View File
@@ -0,0 +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.
#endif
+9
View File
@@ -0,0 +1,9 @@
#ifndef _JSYSTEM_JUT_JUTDBPRINT_H
#define _JSYSTEM_JUT_JUTDBPRINT_H
void* JC_JUTDbPrint_getManager(void);
void JC_JUTDbPrint_setVisible(void*, int); // 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.
#endif
+8
View File
@@ -0,0 +1,8 @@
#ifndef _DOLPHIN_OS
#define _DOLPHIN_OS
#include "types.h"
void OSReport(const char*, ...);
#endif
+6
View File
@@ -0,0 +1,6 @@
#ifndef LIBULTRA_H
#define LIBULTRA_H
extern s32 osAppNMIBuffer[16];
#endif
+7 -2
View File
@@ -3,6 +3,11 @@
#include "types.h"
#include "dolphin/os.h"
#include "libultra/libultra.h"
#include "JSystem/JUT/JUTAssertion.h"
#include "JSystem/JUT/JUTDbPrint.h"
typedef struct zuru_keycheck_s {
u8 state;
u8 progressing;
@@ -10,8 +15,8 @@ typedef struct zuru_keycheck_s {
u8 zurumode_enabled;
} zuru_keycheck;
static zuru_keycheck zuruKeyCheck;
extern zuru_keycheck zuruKeyCheck;
extern s32 zurumode_flag;
#define ZURUMODE_RESET 0
#define ZURUMODE_PROGRESSING 1