Fix bug in remove cache and update comments

This commit is contained in:
lazymio
2021-11-04 21:29:55 +01:00
parent a9bfa0afb0
commit cd02c25802
2 changed files with 5 additions and 5 deletions

2
uc.c
View File

@ -2103,7 +2103,7 @@ uc_err uc_ctl(uc_engine *uc, uc_control_type control, ...)
UC_INIT(uc);
if (rw == UC_CTL_IO_READ) {
if (rw == UC_CTL_IO_WRITE) {
uint64_t addr = va_arg(args, uint64_t);
uc->uc_invalidate_tb(uc, addr, 1);
} else {