mirror of
https://github.com/AuroraWright/SafeA9LHInstaller.git
synced 2025-06-26 13:42:45 +00:00
Spaces and stuff
Makes things more uniform
This commit is contained in:
parent
eaefd3638f
commit
0ede524c31
@ -344,7 +344,7 @@ void generateSector(u8 *keySector){
|
|||||||
aes(keySector + (0x10 * i), keySector + (0x10 * i), 1, NULL, AES_ECB_ENCRYPT_MODE, 0);
|
aes(keySector + (0x10 * i), keySector + (0x10 * i), 1, NULL, AES_ECB_ENCRYPT_MODE, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
//Read and decrypt NAND key sector
|
//Read and decrypt the NAND key sector
|
||||||
void getSector(u8 *keySector){
|
void getSector(u8 *keySector){
|
||||||
//Read keysector from NAND
|
//Read keysector from NAND
|
||||||
sdmmc_nand_readsectors(0x96, 1, keySector);
|
sdmmc_nand_readsectors(0x96, 1, keySector);
|
||||||
|
@ -25,7 +25,7 @@ u16 waitInput(void){
|
|||||||
return key;
|
return key;
|
||||||
}
|
}
|
||||||
|
|
||||||
void shutdown(u32 mode, char *message){
|
void shutdown(u32 mode, const char *message){
|
||||||
if(mode){
|
if(mode){
|
||||||
pos_y = drawString(message, 10, pos_y + SPACING_VERT, COLOR_RED);
|
pos_y = drawString(message, 10, pos_y + SPACING_VERT, COLOR_RED);
|
||||||
drawString("Press any button to shutdown", 10, pos_y, COLOR_WHITE);
|
drawString("Press any button to shutdown", 10, pos_y, COLOR_WHITE);
|
||||||
|
@ -12,4 +12,4 @@
|
|||||||
extern int pos_y;
|
extern int pos_y;
|
||||||
|
|
||||||
u16 waitInput(void);
|
u16 waitInput(void);
|
||||||
void shutdown(u32 mode, char *message);
|
void shutdown(u32 mode, const char *message);
|
Loading…
x
Reference in New Issue
Block a user