Browse Source
Merge pull request #2453 from lioncash/enum
core/memory: Remove unused FlushMode enum
pull/15/merge
bunnei
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
9 deletions
-
src/core/memory.h
|
|
|
@ -72,15 +72,6 @@ u8* GetPointer(VAddr vaddr); |
|
|
|
|
|
|
|
std::string ReadCString(VAddr vaddr, std::size_t max_length); |
|
|
|
|
|
|
|
enum class FlushMode { |
|
|
|
/// Write back modified surfaces to RAM |
|
|
|
Flush, |
|
|
|
/// Remove region from the cache |
|
|
|
Invalidate, |
|
|
|
/// Write back modified surfaces to RAM, and also remove them from the cache |
|
|
|
FlushAndInvalidate, |
|
|
|
}; |
|
|
|
|
|
|
|
/** |
|
|
|
* Mark each page touching the region as cached. |
|
|
|
*/ |
|
|
|
|