diff options
author | bunnei <bunneidev@gmail.com> | 2018-03-24 22:21:14 -0400 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-03-26 21:16:57 -0400 |
commit | d732142b667a650e7418ff5d6c985fa333e04c38 (patch) | |
tree | 2ba4559b10bccff73e975e057b86d38da05de26f /src/core/memory.h | |
parent | c2dbdefedf2496b383e4686fdf3227c8c9576b09 (diff) |
memory: Add RasterizerMarkRegionCached code and cleanup.
Diffstat (limited to 'src/core/memory.h')
-rw-r--r-- | src/core/memory.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/memory.h b/src/core/memory.h index 4b9c482fe..413a7b4e8 100644 --- a/src/core/memory.h +++ b/src/core/memory.h @@ -255,6 +255,11 @@ enum class FlushMode { }; /** + * Mark each page touching the region as cached. + */ +void RasterizerMarkRegionCached(VAddr start, u64 size, bool cached); + +/** * Flushes and invalidates any externally cached rasterizer resources touching the given virtual * address region. */ |