diff options
author | N <71219152+SleepyDweams@users.noreply.github.com> | 2021-03-01 12:04:55 -0500 |
---|---|---|
committer | huderlem <huderlem@gmail.com> | 2021-03-04 19:33:40 -0600 |
commit | a2f757c7a66772bf2f9bdc88d5a0898546e17a54 (patch) | |
tree | a43222f84a0b046ddc75f87d7e2072112cf81432 | |
parent | b86b66660c4b767843911014eafda5e7ef870e0c (diff) |
Document BG_PLTT usage in Agb_Main
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index 8d6bd94fa..f6ade0a8b 100644 --- a/src/main.c +++ b/src/main.c @@ -1,4 +1,5 @@ #include "global.h" +#include "defines.h" #include "crt0.h" #include "malloc.h" #include "link.h" @@ -90,7 +91,7 @@ void AgbMain() #if !MODERN RegisterRamReset(RESET_ALL); #endif //MODERN - *(vu16 *)BG_PLTT = 0x7FFF; + *(vu16 *)BG_PLTT = RGB_WHITE; // Set the palette to white on startup InitGpuRegManager(); REG_WAITCNT = WAITCNT_PREFETCH_ENABLE | WAITCNT_WS0_S_1 | WAITCNT_WS0_N_3; InitKeys(); |