Ensure newlines are at the end of all files
This commit is contained in:
parent
bd925bae17
commit
ed9f2e85f8
@ -34,4 +34,4 @@ inline char* strlower(const char* str) {
|
|||||||
for (int i = 0; i < strlen(str); ++i)
|
for (int i = 0; i < strlen(str); ++i)
|
||||||
buffer[i] = tolower((unsigned)str[i]);
|
buffer[i] = tolower((unsigned)str[i]);
|
||||||
return buffer;
|
return buffer;
|
||||||
}
|
}
|
||||||
|
@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
void ioDelay(u32 us);
|
void ioDelay(u32 us);
|
||||||
|
@ -6,4 +6,4 @@
|
|||||||
ioDelay:
|
ioDelay:
|
||||||
subs r0, #1
|
subs r0, #1
|
||||||
bgt ioDelay
|
bgt ioDelay
|
||||||
bx lr
|
bx lr
|
||||||
|
@ -139,4 +139,4 @@ void CTR_SendCommand(u32 command[4], u32 pageSize, u32 blocks, u32 latency, void
|
|||||||
// wait rom cs high
|
// wait rom cs high
|
||||||
do { cardCtrl = REG_CTRCARDCNT; } while( cardCtrl & CTRCARD_BUSY );
|
do { cardCtrl = REG_CTRCARDCNT; } while( cardCtrl & CTRCARD_BUSY );
|
||||||
//lastCmd[0] = command[0];lastCmd[1] = command[1];
|
//lastCmd[0] = command[0];lastCmd[1] = command[1];
|
||||||
}
|
}
|
||||||
|
@ -5,4 +5,4 @@
|
|||||||
void CTR_SetSecKey(u32 value);
|
void CTR_SetSecKey(u32 value);
|
||||||
void CTR_SetSecSeed(u32 *seed, bool flag);
|
void CTR_SetSecSeed(u32 *seed, bool flag);
|
||||||
|
|
||||||
void CTR_SendCommand(u32 command[4], u32 pageSize, u32 blocks, u32 latency, void* buffer);
|
void CTR_SendCommand(u32 command[4], u32 pageSize, u32 blocks, u32 latency, void* buffer);
|
||||||
|
@ -100,4 +100,4 @@ void NTR_SendCommand( u32 command[2], u32 pageSize, u32 latency, void * buffer )
|
|||||||
// wait rom cs high
|
// wait rom cs high
|
||||||
do { cardCtrl = REG_NTRCARDROMCNT; } while( cardCtrl & NTRCARD_BUSY );
|
do { cardCtrl = REG_NTRCARDROMCNT; } while( cardCtrl & NTRCARD_BUSY );
|
||||||
//lastCmd[0] = command[0];lastCmd[1] = command[1];
|
//lastCmd[0] = command[0];lastCmd[1] = command[1];
|
||||||
}
|
}
|
||||||
|
@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
void NTR_SendCommand(u32 command[2], u32 pageSize, u32 latency, void* buffer);
|
void NTR_SendCommand(u32 command[2], u32 pageSize, u32 latency, void* buffer);
|
||||||
|
@ -174,4 +174,4 @@
|
|||||||
#define KEY_R 1<<8
|
#define KEY_R 1<<8
|
||||||
#define KEY_L 1<<9
|
#define KEY_L 1<<9
|
||||||
#define KEY_X 1<<10
|
#define KEY_X 1<<10
|
||||||
#define KEY_Y 1<<11
|
#define KEY_Y 1<<11
|
||||||
|
Loading…
x
Reference in New Issue
Block a user