diff --git a/include/z64.h b/include/z64.h index 0ed45f1eb6..dfa5d3376f 100644 --- a/include/z64.h +++ b/include/z64.h @@ -1277,15 +1277,13 @@ typedef struct { /* 0x10 */ OSTime resetTime; } PreNmiBuff; // size = 0x18 (actually osAppNmiBuffer is 0x40 bytes large but the rest is unused) -typedef struct -{ +typedef struct { /* 0x00 */ s16 unk_00; /* 0x02 */ s16 unk_02; /* 0x04 */ s16 unk_04; } SubQuakeRequest14; -typedef struct -{ +typedef struct { /* 0x00 */ s16 randIdx; /* 0x02 */ s16 countdownMax; /* 0x04 */ Camera* cam; @@ -1301,8 +1299,7 @@ typedef struct /* 0x20 */ s16 camPtrIdx; } QuakeRequest; // size = 0x24 -typedef struct -{ +typedef struct { /* 0x00 */ Vec3f vec1; /* 0x0C */ Vec3f vec2; /* 0x18 */ s16 rotZ; @@ -1310,8 +1307,7 @@ typedef struct /* 0x1C */ s16 zoom; } ShakeInfo; // size = 0x1E -typedef struct -{ +typedef struct { /* 0x00 */ Vec3f vec1; /* 0x0C */ Vec3f vec2; /* 0x18 */ s16 rotZ; diff --git a/src/code/code_800D31A0.c b/src/code/code_800D31A0.c index ee860be893..3f73824402 100644 --- a/src/code/code_800D31A0.c +++ b/src/code/code_800D31A0.c @@ -1,12 +1,13 @@ #include #include +#include extern PadMgr gPadMgr; -u32 D_8012DBC0 = 0; +u32 D_8012DBC0 = false; void func_800D31A0() { - osSyncPrintf("\x1b[31m\n**** Freeze!! ****\n\x1b[m"); + osSyncPrintf(VT_FGCOL(RED) "\n**** Freeze!! ****\n" VT_RST); while (true) { func_800FF4AC(1000); // msleep }