1
0
mirror of synced 2024-11-23 22:51:02 +01:00

Fix card 2

This commit is contained in:
BroGamer 2022-10-16 11:54:00 +13:00
parent 45c6f5e52c
commit 220a177a4a

View File

@ -138,9 +138,11 @@ u16 __fastcall bnusio_GetCoin (i32 a1) {
}
for (int i = 0; plugins[i] != 0; i++) {
FARPROC insertEvent = GetProcAddress (plugins[i], "Card2Insert");
if (insertEvent) ((event *)insertEvent) ();
if (insertEvent) {
((event *)insertEvent) ();
hasInserted = true;
}
}
if (!hasInserted) {
memcpy (cardData + 0x2C, chipId2, 33);
memcpy (cardData + 0x50, accessCode2, 21);