Fix testsuite

This commit is contained in:
pancake 2013-11-06 01:55:12 +01:00
parent 19165d308a
commit 2a4b961c5d

View File

@ -193,7 +193,8 @@ R_API int r_core_bin_load(RCore *r, const char *file, ut64 baddr) {
return R_TRUE;
}
r->file->obj = r_bin_get_object (r->bin);
r->file->obj->baddr = baddr;
if (baddr)
r->file->obj->baddr = baddr;
r_config_set_i (r->config, "io.va",
(r->file->obj->info)? r->file->obj->info->has_va: 0);