mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-11-02 00:11:07 -04:00
Clear SD IRQ stat and mask registers
Should fix NAND init being stuck
This commit is contained in:
parent
895fd5e8fd
commit
e6a6a208cb
@ -91,6 +91,9 @@ void aes(void* in, void* out, void* iv, u32 method){ //this is sort of a bodged
|
||||
//---------------------------------------------------------------------------------
|
||||
int main() {
|
||||
//---------------------------------------------------------------------------------
|
||||
*(vu32*)0x400481C = 0; // Clear SD IRQ stat register
|
||||
*(vu32*)0x4004820 = 0; // Clear SD IRQ mask register
|
||||
|
||||
// clear sound registers
|
||||
dmaFillWords(0, (void*)0x04000400, 0x100);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user