DCCard_BupComplete and buIsReady

This commit is contained in:
krystalgamer 2024-09-13 19:51:15 +02:00
parent b05aef9243
commit e4f640c2de
3 changed files with 12 additions and 3 deletions

View File

@ -11,7 +11,8 @@ EXPORT u8 gCardInitTwo;
EXPORT i32 gDcCardRelated;
// @SMALLTODO
// @Ok
// @Matching
i32 DCCard_BupComplete(
i32 a1,
i32 a2,
@ -24,8 +25,8 @@ i32 DCCard_BupComplete(
gDcCardRelated = 0;
if (!a3)
{
gDcCardRelated = 1;
gsExit();
gCardData[a1] = 1;
buIsReady(a1);
}
break;
case 2:

View File

@ -23,3 +23,10 @@ void buSetCompleteCallback(i32 (*pFunc)(i32, i32, i32, u32))
pFunc(i, 1, 0, 0);
}
}
// @Ok
// @Matching
i32 buIsReady(i32)
{
return 1;
}

View File

@ -7,4 +7,5 @@
EXPORT i32 buInit(i32, i32, void*, void (*a4)(void));
EXPORT void buSetCompleteCallback(i32 (*pFunc)(i32, i32, i32, u32));
EXPORT i32 buIsReady(i32);
#endif