fixes build system and typo in wt_cache

This commit is contained in:
2023-05-13 16:57:01 +02:00
parent 6789cf4c32
commit 32848ec396
4 changed files with 17 additions and 8 deletions

View File

@@ -129,7 +129,7 @@ public:
if (addr.access && access_type::DEBUG)
return owner->read_mem_dbg(addr.val, length, data) ? Ok : Err;
else {
return owner->read_mem(addr.val, length, data, addr.access && access_type::FETCH) ? Ok : Err;
return owner->read_mem(addr.val, length, data, is_fetch(addr.access)) ? Ok : Err;
}
}