Accept default length for dis above 64 kiB boundary
Same fix as applied for md in 27f56783
.
This commit is contained in:
parent
546d716380
commit
7c04f72397
|
@ -308,7 +308,7 @@ int cmd_dis(char **arg)
|
||||||
len_text);
|
len_text);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
} else if (offset + length > 0x10000) {
|
} else if (offset < 0x10000 && offset + length > 0x10000) {
|
||||||
length = 0x10000 - offset;
|
length = 0x10000 - offset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue