diff options
Diffstat (limited to 'src/cache.cc')
-rw-r--r-- | src/cache.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cache.cc b/src/cache.cc index a2d4525..c934a26 100644 --- a/src/cache.cc +++ b/src/cache.cc @@ -62,6 +62,7 @@ Cache::read_word(void *id, int address, signed int &data) int Cache::process(void *id, int address, std::function<void(int index, int offset)> request_handler) { + address = WRAP_ADDRESS(address); if (!preprocess(id) || priming_address(address) || !this->is_data_ready()) return 0; |