reset emulation_done in uc_emu_start()

This commit is contained in:
Nguyen Anh Quynh 2015-08-29 09:22:53 +08:00
parent ab27c6aa04
commit 0db7d9ea4e

1
uc.c
View File

@ -429,6 +429,7 @@ uc_err uc_emu_start(uch handle, uint64_t begin, uint64_t until, uint64_t timeout
uc->stop_request = false; uc->stop_request = false;
uc->invalid_error = UC_ERR_OK; uc->invalid_error = UC_ERR_OK;
uc->block_full = false; uc->block_full = false;
uc->emulation_done = false;
switch(uc->arch) { switch(uc->arch) {
default: default: