wcr command does not exist anymore, use API (#2979)

This commit is contained in:
Riccardo Schirone 2022-06-24 18:24:43 +02:00 committed by GitHub
parent 84b33d50bd
commit a7d3eaffb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2147,7 +2147,9 @@ void CutterCore::stopDebug()
emit debugTaskStateChanged(); emit debugTaskStateChanged();
if (currentlyEmulating) { if (currentlyEmulating) {
cmdEsil("aeim-; aei-; wcr; .ar-; aets-"); cmdEsil("aeim-; aei-");
resetWriteCache();
cmdEsil(".ar-; aets-");
currentlyEmulating = false; currentlyEmulating = false;
} else { } else {
rz_core_debug_process_close(core()); rz_core_debug_process_close(core());