Using defines instead of magic number
This commit is contained in:
parent
8a52316dd2
commit
84142acb25
@ -97,7 +97,10 @@ void AgbMain()
|
||||
InitGpuRegManager();
|
||||
// Setup waitstates for all ROM mirrors
|
||||
if (DECAP_ENABLED && DECAP_MIRRORING)
|
||||
REG_WAITCNT = WAITCNT_PREFETCH_ENABLE | 0x5B4; // WAITCNT_WSX_S_1 | WAITCNT_WSX_N_3
|
||||
REG_WAITCNT = WAITCNT_PREFETCH_ENABLE
|
||||
| WAITCNT_WS0_S_1 | WAITCNT_WS0_N_3
|
||||
| WAITCNT_WS1_S_1 | WAITCNT_WS1_N_3
|
||||
| WAITCNT_WS2_S_1 | WAITCNT_WS2_N_3;
|
||||
else
|
||||
REG_WAITCNT = WAITCNT_PREFETCH_ENABLE | WAITCNT_WS0_S_1 | WAITCNT_WS0_N_3;
|
||||
InitKeys();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user