Skip to content

Commit

Permalink
Fixed card save from slot
Browse files Browse the repository at this point in the history
  • Loading branch information
VarChar42 committed Dec 22, 2023
1 parent 0d6480d commit c6a50e1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions chameleonultragui/lib/gui/menu/slot_export.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ class SlotExportMenuState extends State<SlotExportMenu> {

int blockCount = mfClassicGetBlockCount(
chameleonTagTypeGetMfClassicType(widget.slotTypes.hf));
for (int block = 0; block < blockCount; block += 16) {

for (int block = 0; block < blockCount; block += 1) {
Uint8List blockData =
await appState.communicator!.mf1GetEmulatorBlock(block, block + 16);
await appState.communicator!.mf1GetEmulatorBlock(block, 1);
binData.add(blockData);
}

Expand Down

0 comments on commit c6a50e1

Please sign in to comment.