1
0
mirror of synced 2024-11-28 09:21:03 +01:00

support for MultiQrCode Accounts

This commit is contained in:
RyuMiya 2023-12-25 14:35:54 +08:00
parent 013556bd08
commit c50ab88ce1

View File

@ -78,6 +78,7 @@ HOOK_DYNAMIC (i64, __fastcall, copy_data, i64, void *dest, int length) {
gState = State::AfterCopy1; gState = State::AfterCopy1;
return card.size () + 1; return card.size () + 1;
} else if (gMode == Mode::MultiCard) { } else if (gMode == Mode::MultiCard) {
if (config) toml_free (config);
memcpy (dest, card_number.c_str (), card_number.size () + 1); memcpy (dest, card_number.c_str (), card_number.size () + 1);
gState = State::AfterCopy1; gState = State::AfterCopy1;
return card_number.size () + 1; return card_number.size () + 1;