Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

core/memory: Remove unused FlushMode enum

Lioncash644ee565ff95
diff --git a/src/core/memory.h b/src/core/memory.h
index b9fa18b1db..04e2c5f1d1 100644
--- a/src/core/memory.h
+++ b/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.
*/