Save and disable asm.stackptr in pdc ##glitch

This commit is contained in:
pancake 2018-12-27 00:46:22 +01:00
parent 7a91e500ba
commit 6139287487

View File

@ -175,7 +175,7 @@ R_API int r_core_pseudo_code(RCore *core, const char *input) {
if (!hc) {
return false;
}
r_config_save_num (hc, "asm.pseudo", "asm.decode", "asm.lines", "asm.bytes", NULL);
r_config_save_num (hc, "asm.pseudo", "asm.decode", "asm.lines", "asm.bytes", "asm.stackptr", NULL);
r_config_save_num (hc, "asm.offset", "asm.flags", "asm.lines.fcn", "asm.comments", NULL);
r_config_save_num (hc, "asm.functions", "asm.section", "asm.cmt.col", "asm.filter", NULL);
r_config_save_num (hc, "scr.color", "emu.str", "asm.emu", "emu.write", NULL);
@ -186,6 +186,7 @@ R_API int r_core_pseudo_code(RCore *core, const char *input) {
return false;
}
r_config_set_i (core->config, "scr.color", 0);
r_config_set_i (core->config, "asm.stackptr", 0);
r_config_set_i (core->config, "asm.pseudo", 1);
r_config_set_i (core->config, "asm.decode", 0);
r_config_set_i (core->config, "asm.filter", 1);