Fix card 2
This commit is contained in:
parent
45c6f5e52c
commit
220a177a4a
@ -138,9 +138,11 @@ u16 __fastcall bnusio_GetCoin (i32 a1) {
|
|||||||
}
|
}
|
||||||
for (int i = 0; plugins[i] != 0; i++) {
|
for (int i = 0; plugins[i] != 0; i++) {
|
||||||
FARPROC insertEvent = GetProcAddress (plugins[i], "Card2Insert");
|
FARPROC insertEvent = GetProcAddress (plugins[i], "Card2Insert");
|
||||||
if (insertEvent) ((event *)insertEvent) ();
|
if (insertEvent) {
|
||||||
|
((event *)insertEvent) ();
|
||||||
hasInserted = true;
|
hasInserted = true;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (!hasInserted) {
|
if (!hasInserted) {
|
||||||
memcpy (cardData + 0x2C, chipId2, 33);
|
memcpy (cardData + 0x2C, chipId2, 33);
|
||||||
memcpy (cardData + 0x50, accessCode2, 21);
|
memcpy (cardData + 0x50, accessCode2, 21);
|
||||||
|
Loading…
Reference in New Issue
Block a user