Fix variable type

This commit is contained in:
Yuri Kunde Schlesner 2015-05-24 21:39:35 -03:00
parent 890c605423
commit 8641c98b13
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ void NTR_CmdReset(void)
int NTR_CmdGetCartId(void) int NTR_CmdGetCartId(void)
{ {
int id; u32 id;
static const u32 getid_cmd[2] = { 0x90000000, 0x00000000 }; static const u32 getid_cmd[2] = { 0x90000000, 0x00000000 };
NTR_SendCommand(getid_cmd, 0x4, NTRCARD_CLK_SLOW | NTRCARD_DELAY1(0x1FFF) | NTRCARD_DELAY2(0x18), &id); NTR_SendCommand(getid_cmd, 0x4, NTRCARD_CLK_SLOW | NTRCARD_DELAY1(0x1FFF) | NTRCARD_DELAY2(0x18), &id);
return id; return id;

View File

@ -18,7 +18,7 @@
extern u8* bottomScreen; extern u8* bottomScreen;
int CartID = -1; u32 CartID = -1;
u32 CartType = 0; u32 CartType = 0;
static int A0_Response = -1; static int A0_Response = -1;