mirror of
https://github.com/radareorg/radare2.git
synced 2025-03-06 13:29:46 +00:00
Fix regression in t.anal/x86/emu
This commit is contained in:
parent
0880d7d4f5
commit
75ea729679
@ -837,7 +837,7 @@ static int cb_iobuffer(void *user, void *data) {
|
||||
static int cb_iocache(void *user, void *data) {
|
||||
RCore *core = (RCore *) user;
|
||||
RConfigNode *node = (RConfigNode *) data;
|
||||
if (!node->i_value) {
|
||||
if (node->i_value<0) {
|
||||
r_io_cache_reset (core->io, node->i_value);
|
||||
}
|
||||
r_io_cache_enable (core->io, node->i_value, node->i_value);
|
||||
|
@ -146,7 +146,6 @@ R_API int r_io_cache_read(RIO *io, ut64 addr, ut8 *buf, int len) {
|
||||
|
||||
r_list_foreach (io->cache, iter, c) {
|
||||
if (r_range_overlap (addr, addr+len-1, c->from, c->to, &ret)) {
|
||||
//eprintf ("CHKCD 0x%llx %d\n", addr, len);
|
||||
if (ret>0) {
|
||||
da = ret;
|
||||
db = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user