mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-28 23:50:40 +00:00
Fix Vca - assembly in visual cursor mode losing higher bits of the address
This commit is contained in:
parent
acfc53553c
commit
ec873f35bd
@ -2695,14 +2695,14 @@ R_API int r_core_visual_cmd(RCore *core, const char *arg) {
|
||||
r_cons_enable_mouse (true);
|
||||
}
|
||||
if (*buf) {
|
||||
ut64 off = core->offset;
|
||||
if (core->print->cur_enabled) {
|
||||
int t = core->offset + core->print->cur;
|
||||
ut64 t = off + core->print->cur;
|
||||
r_core_seek (core, t, false);
|
||||
}
|
||||
r_core_cmd (core, buf, true);
|
||||
if (core->print->cur_enabled) {
|
||||
int t = core->offset - core->print->cur;
|
||||
r_core_seek (core, t, true);
|
||||
r_core_seek (core, off, true);
|
||||
}
|
||||
}
|
||||
r_core_visual_showcursor (core, false);
|
||||
|
Loading…
Reference in New Issue
Block a user