From b06274623f5338764f24ea93c0f1b689f48712fb Mon Sep 17 00:00:00 2001
From: Iceman <iceman1001@iuse.se>
Date: Sat, 10 Aug 2019 18:05:24 +0200
Subject: [PATCH] fix:  hf iclass dump - now also save EML

---
 client/cmdhficlass.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/client/cmdhficlass.c b/client/cmdhficlass.c
index d87d26b67..1f8aef9a5 100644
--- a/client/cmdhficlass.c
+++ b/client/cmdhficlass.c
@@ -1062,6 +1062,7 @@ static int CmdHFiClassReader_Dump(const char *Cmd) {
     // save the dump to .bin file
     PrintAndLogEx(SUCCESS, "saving dump file - %d blocks read", gotBytes / 8);
     saveFile(filename, ".bin", tag_data, gotBytes);
+    saveFileEML(filename, tag_data, gotBytes, 8);
     return 1;
 }