mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-13 09:11:49 +00:00
Fix #7841 - allow scroll in pCD
This commit is contained in:
parent
311dfdeed3
commit
9b98a8a5e4
@ -217,11 +217,8 @@ static void cmd_pCD(RCore *core, const char *input) {
|
||||
break;
|
||||
case 1:
|
||||
(void) r_cons_canvas_gotoxy (c, 28, 0);
|
||||
if (core->assembler->bits == 64) {
|
||||
cmd = r_str_newf ("pxq 128@r:SP;pd@r:PC");
|
||||
} else {
|
||||
cmd = r_str_newf ("pxw 128@r:SP;pd@r:PC");
|
||||
}
|
||||
// cmd = r_str_newf ("pxw 128@r:SP;pd@r:PC");
|
||||
cmd = r_str_newf ("pxq 128@r:SP;pd@ 0x%"PFMT64x, osek);
|
||||
break;
|
||||
}
|
||||
char *dis = r_core_cmd_str (core, cmd);
|
||||
|
Loading…
x
Reference in New Issue
Block a user