From f57879cbcb9a46c3455105ff572120d724658aac Mon Sep 17 00:00:00 2001 From: acru3l <40105064+acru3l@users.noreply.github.com> Date: Wed, 27 Apr 2022 11:38:28 +0900 Subject: [PATCH] Fix felica_sendraw --- armsrc/felica.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/armsrc/felica.c b/armsrc/felica.c index db5bca067..3cf75a0b4 100644 --- a/armsrc/felica.c +++ b/armsrc/felica.c @@ -560,7 +560,7 @@ void felica_sendraw(PacketCommandNG *c) { if ((param & FELICA_APPEND_CRC)) { // Don't append crc on empty bytearray... if (len > 0) { - AddCrc(buf, len); + AddCrc(buf + 2, len); } } if (g_dbglevel >= DBG_DEBUG) {