forked from shutterbug2000/hiyaCFW
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update icon/fix issue with DSI Bootsplash not working...
Fixed issue with DSi Boot Splash not showing if Hiya Logo is disabled. Note that preivous commit is not compatible with this. It has been reverted. Please re-do that code. (or wait for NoCash to change Unlaunch so it doesn't set the skip DSi splash flag for bootcode.dsi payloads) Also updated readme.md and icon.bmp.
- Loading branch information
1 parent
cce44ce
commit 5c7d681
Showing
7 changed files
with
57 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#include <nds.h> | ||
|
||
void fifocheck (void) | ||
{ | ||
if(fifoCheckValue32(FIFO_USER_04)) { | ||
if(fifoCheckValue32(FIFO_USER_03)) { | ||
i2cWriteRegister(0x4A, 0x70, 0x00); // Bootflag = Softboot | ||
} else { | ||
i2cWriteRegister(0x4A, 0x70, 0x01); // Bootflag = Warmboot/SkipHealthSafety | ||
} | ||
// After writing i2c, set FIFO_USER_04 back to 0 so arm7 doesn't repeatedly run i2c code. | ||
fifoSendValue32(FIFO_USER_04, 0); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#ifndef FIFOCHECK_H | ||
#define FIFOCHECK_H | ||
|
||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
void fifocheck (void); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif // FIFOCHECK_H | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters