Fix variable type
This commit is contained in:
parent
890c605423
commit
8641c98b13
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user