Increase a few ioDelays during cart initialization
This helps with carts that return FFFFFFFF as the cart id.
This commit is contained in:
parent
ce21c68e8c
commit
6fdf216e25
@ -81,14 +81,14 @@ void Cart_Init(void)
|
||||
ResetCartSlot(); //Seems to reset the cart slot?
|
||||
|
||||
REG_CTRCARDSECCNT &= 0xFFFFFFFB;
|
||||
ioDelay(0xF000);
|
||||
ioDelay(0x30000);
|
||||
|
||||
SwitchToNTRCARD();
|
||||
ioDelay(0xF000);
|
||||
ioDelay(0x30000);
|
||||
|
||||
REG_NTRCARDROMCNT = 0;
|
||||
REG_NTRCARDMCNT &= 0xFF;
|
||||
ioDelay(167550);
|
||||
ioDelay(0x40000);
|
||||
|
||||
REG_NTRCARDMCNT |= (NTRCARD_CR1_ENABLE | NTRCARD_CR1_IRQ);
|
||||
REG_NTRCARDROMCNT = NTRCARD_nRESET | NTRCARD_SEC_SEED;
|
||||
|
Loading…
x
Reference in New Issue
Block a user