diff options
Diffstat (limited to 'src/core/memory.h')
| -rw-r--r-- | src/core/memory.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/memory.h b/src/core/memory.h index 58cc27b29..f22c0a2d8 100644 --- a/src/core/memory.h +++ b/src/core/memory.h | |||
| @@ -446,6 +446,17 @@ public: | |||
| 446 | */ | 446 | */ |
| 447 | void RasterizerMarkRegionCached(VAddr vaddr, u64 size, bool cached); | 447 | void RasterizerMarkRegionCached(VAddr vaddr, u64 size, bool cached); |
| 448 | 448 | ||
| 449 | /** | ||
| 450 | * Marks each page within the specified address range as debug or non-debug. | ||
| 451 | * Debug addresses are not accessible from fastmem pointers. | ||
| 452 | * | ||
| 453 | * @param vaddr The virtual address indicating the start of the address range. | ||
| 454 | * @param size The size of the address range in bytes. | ||
| 455 | * @param debug Whether or not any pages within the address range should be | ||
| 456 | * marked as debug or non-debug. | ||
| 457 | */ | ||
| 458 | void MarkRegionDebug(VAddr vaddr, u64 size, bool debug); | ||
| 459 | |||
| 449 | private: | 460 | private: |
| 450 | Core::System& system; | 461 | Core::System& system; |
| 451 | 462 | ||