Fix r2dec detection (#1640)

This commit is contained in:
xarkes 2019-07-08 23:53:27 +02:00 committed by Paul I
parent d37bce9b57
commit 68a864ee0a

View File

@ -922,7 +922,7 @@ QString CutterCore::getDecompiledCodePDC(RVA addr)
bool CutterCore::getR2DecAvailable() bool CutterCore::getR2DecAvailable()
{ {
return cmdList("e cmd.pdc=?").contains(QStringLiteral("r2dec")); return cmdList("e cmd.pdc=?").contains(QStringLiteral("pdd"));
} }
QString CutterCore::getDecompiledCodeR2Dec(RVA addr) QString CutterCore::getDecompiledCodeR2Dec(RVA addr)