From a7d3eaffb036cea681156ed7ebd4b5ca189beb97 Mon Sep 17 00:00:00 2001 From: Riccardo Schirone Date: Fri, 24 Jun 2022 18:24:43 +0200 Subject: [PATCH] `wcr` command does not exist anymore, use API (#2979) --- src/core/Cutter.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/Cutter.cpp b/src/core/Cutter.cpp index 59306d39..8db7aa1b 100644 --- a/src/core/Cutter.cpp +++ b/src/core/Cutter.cpp @@ -2147,7 +2147,9 @@ void CutterCore::stopDebug() emit debugTaskStateChanged(); if (currentlyEmulating) { - cmdEsil("aeim-; aei-; wcr; .ar-; aets-"); + cmdEsil("aeim-; aei-"); + resetWriteCache(); + cmdEsil(".ar-; aets-"); currentlyEmulating = false; } else { rz_core_debug_process_close(core());