[Memory] Pass exact_range to watch callbacks

This commit is contained in:
Triang3l
2019-08-03 19:16:04 +03:00
parent a0c92e30ce
commit 0370f8bbd9
6 changed files with 40 additions and 32 deletions

View File

@@ -338,7 +338,8 @@ class Memory {
// the watched region that can be safely unwatched, if it doesn't matter,
// return (0, UINT32_MAX).
typedef std::pair<uint32_t, uint32_t> (*PhysicalWriteWatchCallback)(
void* context_ptr, uint32_t physical_address_start, uint32_t length);
void* context_ptr, uint32_t physical_address_start, uint32_t length,
bool exact_range);
// Physical memory write watching, allowing subsystems to invalidate cached
// data that depends on memory contents.