mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-27 07:00:30 +00:00
Fix build
This commit is contained in:
parent
4a146f8158
commit
0973759a8c
@ -61,12 +61,12 @@ R_API int r_debug_reg_list(RDebug *dbg, int type, int size, int rad, const char
|
||||
RPrint *pr = NULL;
|
||||
ut64 diff;
|
||||
|
||||
if (!dbg || !dbg->reg || !dbg->corebind)
|
||||
if (!dbg || !dbg->reg) {
|
||||
return false;
|
||||
}
|
||||
|
||||
RCore *core = dbg->corebind.core;
|
||||
if (core) {
|
||||
pr = core->print;
|
||||
if (dbg->corebind.core) {
|
||||
pr = ((RCore*)dbg->corebind.core)->print;
|
||||
}
|
||||
|
||||
if (!(dbg->reg->bits & size)) {
|
||||
|
Loading…
Reference in New Issue
Block a user