Enable asm.flags in emulation

This commit is contained in:
mandlebro 2018-08-06 13:19:52 +01:00 committed by xarkes
parent ad9d3ccb5f
commit 0562c377fb

View File

@ -907,7 +907,7 @@ void CutterCore::startEmulation()
emit registersChanged();
if (!currentlyDebugging || !currentlyEmulating) {
// prevent register flags from appearing during debug/emul
setConfig("asm.flags", false);
// setConfig("asm.flags", false);
// allows to view self-modifying code changes or other binary changes
setConfig("io.cache", true);
currentlyDebugging = true;
@ -977,10 +977,10 @@ void CutterCore::continueDebug()
void CutterCore::continueUntilDebug(QString offset)
{
if (currentlyDebugging) {
if (!currentlyEmulating) {
cmd("dcu " + offset);
} else {
if (currentlyEmulating) {
cmdEsil("aecu " + offset);
} else {
cmd("dcu " + offset);
}
emit registersChanged();
emit refreshCodeViews();