DCCard_InitCallback

This commit is contained in:
krystalgamer 2024-09-13 19:40:52 +02:00
parent e8a0dc100b
commit 6dbda6a43a
4 changed files with 11 additions and 4 deletions

View File

@ -9,9 +9,10 @@ EXPORT u8 gCardInit;
EXPORT u8 gCardInitTwo;
// @SMALLTODO
void DCCard_BupComplete(i32,i32,i32,u32)
i32 DCCard_BupComplete(i32,i32,i32,u32)
{
printf("DCCard_BupComplete(i32,i32,i32,u32)");
return 0;
}
// @SMALLTODO
@ -38,10 +39,10 @@ void DCCard_HappyBeep(i32,u32)
printf("DCCard_HappyBeep(i32,u32)");
}
// @SMALLTODO
// @Ok
void DCCard_InitCallback(void)
{
printf("DCCard_InitCallback(void)");
buSetCompleteCallback(DCCard_BupComplete);
}
// @SMALLTODO

View File

@ -5,7 +5,7 @@
#include "export.h"
EXPORT void DCCard_BupComplete(i32,i32,i32,u32);
EXPORT i32 DCCard_BupComplete(i32,i32,i32,u32);
EXPORT void DCCard_CurTime(void);
EXPORT void DCCard_Exists(i32);
EXPORT void DCCard_First(void);

View File

@ -13,3 +13,8 @@ i32 buInit(i32, i32, void*, void (*a4)(void))
a4();
return 0;
}
i32 buSetCompleteCallback(i32 (*pFunc)(i32, i32, i32, u32))
{
return 0;
}

View File

@ -6,4 +6,5 @@
#include "export.h"
EXPORT i32 buInit(i32, i32, void*, void (*a4)(void));
EXPORT i32 buSetCompleteCallback(i32 (*pFunc)(i32, i32, i32, u32));
#endif