Explorar o código

core/memory: Remove unused FlushMode enum

Recent changes to memory-related code resulted in this being unused, so
we can remove it.
Lioncash %!s(int64=7) %!d(string=hai) anos
pai
achega
495a8d8d95
Modificáronse 1 ficheiros con 0 adicións e 9 borrados
  1. 0 9
      src/core/memory.h

+ 0 - 9
src/core/memory.h

@@ -72,15 +72,6 @@ u8* GetPointer(VAddr vaddr);
 
 
 std::string ReadCString(VAddr vaddr, std::size_t max_length);
 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.
  * Mark each page touching the region as cached.
  */
  */