From b0bc66b251659a43372a3c45d555f79d122bf438 Mon Sep 17 00:00:00 2001 From: Sergey Dvodnenko Date: Sat, 6 Feb 2021 14:35:57 +0200 Subject: [PATCH] pcecd: undefined command should reset the pending status flag for the current command (Tenshi no Uta II) (#344) --- support/pcecd/pcecdd.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/support/pcecd/pcecdd.cpp b/support/pcecd/pcecdd.cpp index ce5c53f..c52d3de 100644 --- a/support/pcecd/pcecdd.cpp +++ b/support/pcecd/pcecdd.cpp @@ -746,7 +746,8 @@ void pcecdd_t::CommandExec() { CommandError(SENSEKEY_ILLEGAL_REQUEST, NSE_INVALID_COMMAND, 0, 0); printf("\x1b[32mPCECD: Command undefined, [0] = %02X, [1] = %02X, [2] = %02X, [3] = %02X, [4] = %02X, [5] = %02X\n\x1b[0m", comm[0], comm[1], comm[2], comm[3], comm[4], comm[5]); - + + has_status = 0; SendStatus(MAKE_STATUS(PCECD_STATUS_CHECK_COND, 0)); break;