summaryrefslogtreecommitdiffstats
path: root/src/common/host_memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/host_memory.h')
-rw-r--r--src/common/host_memory.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/host_memory.h b/src/common/host_memory.h
index eaa7d18ab..9b8326d0f 100644
--- a/src/common/host_memory.h
+++ b/src/common/host_memory.h
@@ -6,6 +6,7 @@
#include <memory>
#include "common/common_types.h"
+#include "common/virtual_buffer.h"
namespace Common {
@@ -61,6 +62,9 @@ private:
u8* backing_base{};
u8* virtual_base{};
size_t virtual_base_offset{};
+
+ // Fallback if fastmem is not supported on this platform
+ std::unique_ptr<Common::VirtualBuffer<u8>> fallback_buffer;
};
} // namespace Common