summaryrefslogtreecommitdiff
path: root/src/code
diff options
context:
space:
mode:
authorRandom <28494085+Random0666@users.noreply.github.com>2020-03-29 11:57:52 +0200
committerRandom <28494085+Random0666@users.noreply.github.com>2020-03-29 11:57:52 +0200
commit462c284a17650016dbc4ff66f1169924ef846172 (patch)
treec64f3ff7f0a86ca9ba8ee4bc1856a5ea50a653d5 /src/code
parent5f027cb4319e2af4ce0d673dedde2457a93c1a7c (diff)
Fixes in PR #41
- Use VT macros in code_800D31A0.c - Change D_8012DBC0 to false instead of 0 - Fix brace style
Diffstat (limited to 'src/code')
-rw-r--r--src/code/code_800D31A0.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/code/code_800D31A0.c b/src/code/code_800D31A0.c
index ee860be89..3f7382440 100644
--- a/src/code/code_800D31A0.c
+++ b/src/code/code_800D31A0.c
@@ -1,12 +1,13 @@
#include <global.h>
#include <padmgr.h>
+#include <vt.h>
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
}