mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-10 07:13:02 +01:00
Document BG_PLTT usage in Agb_Main
This commit is contained in:
parent
b86b66660c
commit
a2f757c7a6
@ -1,4 +1,5 @@
|
|||||||
#include "global.h"
|
#include "global.h"
|
||||||
|
#include "defines.h"
|
||||||
#include "crt0.h"
|
#include "crt0.h"
|
||||||
#include "malloc.h"
|
#include "malloc.h"
|
||||||
#include "link.h"
|
#include "link.h"
|
||||||
@ -90,7 +91,7 @@ void AgbMain()
|
|||||||
#if !MODERN
|
#if !MODERN
|
||||||
RegisterRamReset(RESET_ALL);
|
RegisterRamReset(RESET_ALL);
|
||||||
#endif //MODERN
|
#endif //MODERN
|
||||||
*(vu16 *)BG_PLTT = 0x7FFF;
|
*(vu16 *)BG_PLTT = RGB_WHITE; // Set the palette to white on startup
|
||||||
InitGpuRegManager();
|
InitGpuRegManager();
|
||||||
REG_WAITCNT = WAITCNT_PREFETCH_ENABLE | WAITCNT_WS0_S_1 | WAITCNT_WS0_N_3;
|
REG_WAITCNT = WAITCNT_PREFETCH_ENABLE | WAITCNT_WS0_S_1 | WAITCNT_WS0_N_3;
|
||||||
InitKeys();
|
InitKeys();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user